All Functions

datetime - date and time

Returns the current date and time.

For more date and time options check the more robust date() function.

Usage(s)

datetime () returns the current date and time in an ISO-8601 string

Parameter(s)

This function has no parameters

Example(s)

Output the date and time

datetime()

2013-01-23T14:20:23

See also

date - date and time time - time