i'm pretty sure you can sync/link to a ntp server to accurately track the time... -----Original Message----- From: tedd [mailto:tedd@xxxxxxxxxxxx] Sent: Friday, December 28, 2007 7:47 AM To: PHP Subject: Unix date Hi gang: Using: $unix_in = 1255845600; echo(date("M d, Y h:i:s a",$unix_in)); On one sever, produces: Oct 18, 2009 02:00:00 am But on another sever, produces: Oct 18, 2009 12:00:00 am This difference appears to be a combination of "time-zone" and "daylight-savings" considerations. In other words, the function date() looks at the server's time (whatever that is set for, right or wrong) and uses that for the calculation. So, what's the best method in keeping things consistent across servers? Is there one? Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php