PHP Manual
Prev |  | Next

# getdate

getdate -- get date/time information

## Description

`array getdate`(int timestamp);

Returns an associative array containing the date information of the timestamp as the following array elements:

- "seconds" - seconds

- "minutes" - minutes

- "hours" - hours

- "mday" - day of the month

- "wday" - day of the week, numeric

- "mon" - month, numeric

- "year" - year, numeric

- "yday" - day of the year, numeric; i.e. "299"

- "weekday" - day of the week, textual, full; i.e. "Friday"

- "month" - month, textual, full; i.e. "January"

Prev | Home | Next
date | Up | gettimeofday