Return the current time as a Unix timestamp, then format it to a date:
The time() function returns the current time in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).
Return Value: | Returns an integer containing the current time as a Unix timestamp |
---|---|
PHP Version: | 4+ |