Time zone discrepancy - America/New_York = CDT?
| From: | Nathan Lebovic | Date: | Sun, 01 Nov 2009 08:48:47 +0000 |
| Subject: | Time zone discrepancy - America/New_York = CDT? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-299549@lists.php.net to get a copy of this message | ||
I'm using PHP 5.2.6; I just updated timezones with PECL timezonedb to make
sure that wasn't the problem.
These are the results that I'm getting, which I cannot figure out:
date_default_timezone_set("America/New_York");
echo date("e"); //output "America/New_York"
echo date("T"); //output "CST"
date_default_timezone_set("EST");
echo date("e"); //output "EST"
echo date("T"); //output "CDT"
Any ideas?
Thanks,
- Nathan