time

time -- 現在の UNIX タイムスタンプを返す

説明

int time(void);

現在時刻を Unix epoch(1970 年 1 月 1 日 00:00:00 GMT) )からの通算秒として返します。

参照:date.