note 13652 added to function.getdate.php
| From: | php-general at lists dot php dot net | Date: | Wed, 27 Jun 2001 05:01:23 +0000 |
| Subject: | note 13652 added to function.getdate.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14692@lists.php.net to get a copy of this message | ||
// Map the US delusion that weeks start from sunday into
// the European reality of weeks starting from monday.
function sunsat_to_monsun($wday)
{
if ($wday==0) return 6;
return $wday-1;
}
http://www.php.net/manual/en/function.getdate.php