array getdate ([ int $timestamp = time() ] )
Returns an associative array containing the date information of the timestamp, or the current local time if no timestamp is given.
Returns an associative array of information related to the timestamp. Elements from the returned associative array are as follows: Key elements of the returned associative array Key Description Example returned values