note 42237 deleted from function.jddayofweek by didou
| From: | didou@php.net | Date: | Mon, 10 Jan 2005 01:07:34 +0000 |
| Subject: | note 42237 deleted from function.jddayofweek by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-83018@lists.php.net to get a copy of this message | ||
Note Submitter: bnb.mo
----
<?php
$today = getdate();
$WeekDay=$today['wday'];
echo "The day is: ".$WeekDay;
?>
This returns the day as a string , it also display as 0=Sunday, 6=Saturday..