$timestamp = 1210003200; $datetime = date('Y-m-d H:i:s', $timestamp); echo "该时间戳代表的时间:", $datetime, "<br> "; echo "从此时间重新转回时间戳:", strtotime($datetime), "<br> ";