Return date/time information of the current local date/time:
The getdate() function returns date/time information of a timestamp or the current local date/time.
| Parameter | Description |
|---|---|
| timestamp | Optional. Specifies an integer Unix timestamp. Default is the current local time (time()) |
| Return Value: | Returns an associative array with information related to the
timestamp:
|
|---|---|
| PHP Version: | 4+ |
PHP Date/Time Reference
Your message has been sent to W3Schools.