note 30305 added to function.getdate
| From: | johnnycobol at yahoo dot com | Date: | Thu, 13 Mar 2003 15:52:57 +0000 |
| Subject: | note 30305 added to function.getdate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45219@lists.php.net to get a copy of this message | ||
You can easily view the information returned by getdate() like so:
$today = getdate();
print_r($today);
And then reference the array using one of the displayed keys, eg:
echo $today['seconds'];
--
http://www.php.net/manual/en/function.getdate.php
http://master.php.net/manage/user-notes.php?action=edit+30305
http://master.php.net/manage/user-notes.php?action=delete+30305
http://master.php.net/manage/user-notes.php?action=reject+30305