Hi Brandon,

> I did a basic script <? echo date('h:I'); ?> and the 
> time is off in that script [...] I have checked the 
> server time and the server hardware clock.  

Well, date("h:I") means "display the hours (in 12-hour format), followed by
a colon, followed by a 1 or a 0 depending on whether daylight saving is in
effect", so you're unlikely to get the correct time from it ;-)

Give either date("h:ia") or date("H:i") a try - these are 12-hour and
24-hour times respectively.

Cheers
Jon

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

Reply via email to