Hello Shaun,

Friday, March 5, 2004, 11:56:03 AM, you wrote:

S> The 28th of march this year is a Sunday, so why does the following script
S> output Wed?

S> <?php
S> $loop3_this_day = 28;
S> $loop3_this_month = 03;
S> $loop3_this_year = 2004;
S> echo date("D", mktime(0, 0, 0, $loop3_this_month, $loop3_this_day,
S> $loop3_this_year));
?>>

I changed the date to show a little more detail (date("D M d Y") and
it output: Sat Mar 27 2004 for me, which is exactly what it should.
Suggest you start looking for something specific to your
server/set-up.

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to