Function
|
Description
|
Format
|
checkdate
|
Validate a Gregorian date/time
|
bool checkdate ( int month, int day, int year)
|
date
|
Format a local time/date
|
string date ( string format [, int timestamp])
|
getdate
|
Get date/time information
|
array getdate ( [int timestamp])
|
gettimeofday
|
Get current time
|
array gettimeofday ( void)
|
gmdate
|
Format a GMT/CUT date/time
|
string gmdate ( string format [, int timestamp])
|
gmmktime
|
Get UNIX timestamp for a GMT date
|
int gmmktime ( int hour, int minute, int second,
int month, int day, int year [, int is_dst])
|
gmstrftime
|
Format a GMT/CUT time/date according to locale settings
|
string gmstrftime ( string format [, int timestamp])
|
localtime
|
Get the local time
|
array localtime ( [int timestamp [, bool is_associative]])
|
microtime
|
Return current UNIX timestamp with microseconds
|
string microtime ( void)
|
mktime
|
Get UNIX timestamp for a date
|
int mktime ( int hour, int minute, int second,
int month, int day, int year [, int is_dst])
|
strftime
|
Format a local time/date according to locale settings
|
string strftime ( string format [, int timestamp])
|
time
|
Return current UNIX timestamp
|
int time ( void)
|
strtotime
|
Parse about any English textual datetime description
into a UNIX timestamp
|
int strtotime ( string time [, int now])
|