|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-08-08 11:32 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 13:00:01 2025 UTC |
Description: ------------ Hi, I have downloaded php-5.2.3-Win32.zip and installed on windows server 2003 on apache 2.2 server. Every thing looks fine and tested a php file with script "Today is <?php echo date("D M j G:i:s T Y"); ?>" in it, but it always showing "Today is Wed Aug 8 10:37:29 UTC 2007" instead local time. I live in Timezone of +5.30Hrs of GMT. Even i set timezone as date.timezone ="" in the php.ii file, the result is same. The same is shown with phpinfo.php script. Please help. Thanks Suren Reproduce code: --------------- Today is <?php echo date("D M j G:i:s T Y"); ?>" Expected result: ---------------- Today is Wed Aug 8 04:18:58 IST/(GMT+5.30) 2007 Actual result: -------------- Today is Wed Aug 8 10:37:29 UTC 2007