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-09-09
1757372523
08:02:03
1355238000
2012-12-12