echo date('Y-m-d'); // 本日
echo date('U'); // 現在のUNIXタイムスタンプ
echo date("H:i:s"); // 現在時刻
echo strtotime('2012-12-12'); // 文字列日付からのUNIXタイムスタンプ
echo date('Y-m-d',strtotime('2012-12-12')); // 文字列から日付
2025-06-27
1751012184
17:16:24
1355238000
2012-12-12