The timestamp argument is optional. If left out, the current time will be used. The
timestamp is interpreted as being in local time.
<?
//prints something like
//03:59 PM Monday January 1st, 2001
print(date("h:i A l F dS, Y"));
?>
array getdate(integer timestamp)
The getdate function returns an associative array with information about the given date.
This array is described in Table 11.2. The timestamp argument is the number of seconds
since January 1, 1970. If left out, the current time is used.
Figure 11-1. getdate