28th of March - PHP Problems!

From: Date: Fri, 05 Mar 2004 11:56:03 +0000
Subject: 28th of March - PHP Problems!
Groups: php.general 
Request: Send a blank email to php-general+get-179558@lists.php.net to get a copy of this message
Hi, The 28th of march this year is a Sunday, so why does the following script output Wed? <?php $loop3_this_day = 28; $loop3_this_month = 03; $loop3_this_year = 2004; echo date("D", mktime(0, 0, 0, $loop3_this_month, $loop3_this_day, $loop3_this_year)); ?> Any ideas? Thanks for your help

« previous php.general (#179558) next »