|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-11-11 15:44 UTC] tony2001@php.net
[2005-11-11 19:48 UTC] derick@php.net
[2005-11-11 23:11 UTC] php at splitstreamdesign dot com
[2005-11-12 10:14 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 16:00:01 2025 UTC |
Description: ------------ The documentation for the date() function states that the 'T' parameter for the format string prints the timezone abbreviation: "Examples: EST, MDT ...". Both PHP 5.0.4 and 5.0.5 replace 'T' with the full string "Eastern Standard Time" on both Windows 2000 & Windows XP servers. Reproduce code: --------------- <? echo date("D, d M Y H:i:s T"); ?> Expected result: ---------------- Fri, 11 Nov 2005 01:37:23 EST Actual result: -------------- Fri, 11 Nov 2005 01:37:23 Eastern Standard Time