note 13652 deleted from function.getdate by jimw
| From: | jimw@php.net | Date: | Mon, 22 Oct 2001 23:42:35 +0000 |
| Subject: | note 13652 deleted from function.getdate by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19302@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;
}