Sie sind auf Seite 1von 1

Definition and Usage

The getdate() function returns date/time information of a timestamp or the curre


nt local date/time.
Syntax
getdate(timestamp);
Parameter Description
timestamp Optional. Specifies an integer Unix timestamp. Default is
the current local time (time())
Technical Details
Return Value: Returns an associative array with information related to the tim
estamp:
[seconds] - seconds
[minutes] - minutes
[hours] - hours
[mday] - day of the month
[wday] - day of the week
[mon] - month
[year] - year
[yday] - day of the year
[weekday] - name of the weekday
[month] - name of the month
[0] - seconds since Unix Epoch

Das könnte Ihnen auch gefallen