日期與時間函式庫

checkdate --- 有效的日期/時間

date --- 將本地的時間/日期格式化

getdate --- 取得日期/時間資訊

gettimeofday --- 取得目前的時間

gmdate --- 取得目前的時間

gmmktime --- 取得UNIX時間戳記的格林威治時間

gmstrftime --- 按照場所設定將格林威治時間/日期格式化

localtime --- 取得當地時間

microtime --- 傳回目前UNIX時間戳記的百萬分之一秒

mktime --- 取得日期的UNIX時間戳記

time --- 傳回目前UNIX時間戳記

strtotime --- 剖析任何英文的日期時間成為UNIX時間戳記


首頁