UNIXタイムスタンプを取得

UNIXタイムスタンプを取得するにはtime関数を利用します。

$unixTimestamp = time();