Output of date() differs from system time by 25 minutes
Posted: Sun Jul 13, 2008 5:35 am
Bit of a strange problem here that I'm hoping someone can help me with:
The time as reported by the server is the correct one, and it seems that PHP is using the correct timezone, so I'm wondering why the difference?
Code: Select all
# date
Sun Jul 13 06:33:57 EDT 2008
# php
<?
echo date ('M j Y, H:m:s');
?>
Jul 13 2008, 06:07:55
# php
<?
echo date_default_timezone_get();
?>
America/New_York