checkdate PHP 3.0

bool checkdate(int month, int day, int year)

 

Returns true if passed a valid date in the Gregorian calendar.

date PHP 3.0

string date(string format[, int timestamp])

 

Formats a local time/date.

getdate PHP 3.0

array getdate([int timestamp])

 

Gets date/time information.

gettimeofday PHP 3.0.7

array gettimeofday(void)

 

Returns the current time as array.

gmdate PHP 3.0

string gmdate(string format[, int timestamp])

 

Formats a GMT/UTC date/time.

gmmktime PHP 3.0

int gmmktime(int hour, int min, int sec, int mon, int day, int year)

 

Gets Unix timestamp for a GMT date.

gmstrftime PHP 3.0.12

string gmstrftime(string format[, int timestamp])

 

Formats a GMT/UCT time/date according to locale settings.

localtime PHP 4.0

array localtime([int timestamp[, bool associative_array]])

 

Returns the results of the C system call localtime as an associative array if the associative_array argument is set to 1 or as a regular array.

microtime PHP 3.0

string microtime(void)

 

Returns a string containing the current time in seconds and microseconds.

mktime PHP 3.0

int mktime(int hour, int min, int sec, int mon, int day, int year)

 

Gets Unix timestamp for a date.

strftime PHP 3.0

string strftime(string format[, int timestamp])

 

Formats a local time/date according to locale settings.

strtotime PHP 3.0.12

int strtotime(string time, int now)

 

Converts string representation of date and time to a timestamp.

time PHP 3.0

int time(void)

 

Returns current Unix timestamp.