The Associative Array Returned by getdate() : getdate « Date « PHP
- PHP
- Date
- getdate
The Associative Array Returned by getdate()
Key Description Example
seconds Seconds past the minute (059) 28
minutes Minutes past the hour (059) 7
hours Hours of the day (023) 12
mday Day of the month (131) 20
wday Day of the week (06) 4
mon Month of the year (112) 1
year Year (four digits) 2004
Yday Day of year (0365) 19
weekday Day of the week (name) Thursday
month Month of the year (name) January
0 Timestamp 948370048
Related examples in the same category