note 88319 added to faq
| From: | amitavakar at osu1 dot php dot net | Date: | Tue, 20 Jan 2009 07:35:38 +0000 |
| Subject: | note 88319 added to faq | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-149508@lists.php.net to get a copy of this message | ||
date not properly working in IIS...
i use 'php-5.2.8-Win32.zip' ; 'apache 2.2.9' and 'IIS in windows xp
sp2'.
also configer in php.ini -
;
[Date]
; Defines the default timezone used by the date functions
date.timezone = Asia/Calcutta
;
now i try the script -
<?php
echo date("F j, Y, g:i a");
?>
it returns when IIS runing - "January 20, 2009, 7:14 am".
it returns when apache runing - "January 20, 2009, 12:46 pm".
when system show - "January 20, 2009, 12:46 pm".
any other settings required..???
----
Server IP: 59.162.86.33
Probable Submitter: 59.93.166.121
----
Manual Page -- http://www.php.net/manual/en/faq.php
Edit -- https://master.php.net/note/edit/88319
Del: integrated -- https://master.php.net/note/delete/88319/integrated
Del: useless -- https://master.php.net/note/delete/88319/useless
Del: bad code -- https://master.php.net/note/delete/88319/bad+code
Del: spam -- https://master.php.net/note/delete/88319/spam
Del: non-english -- https://master.php.net/note/delete/88319/non-english
Del: in docs -- https://master.php.net/note/delete/88319/in+docs
Del: other reasons-- https://master.php.net/note/delete/88319
Reject -- https://master.php.net/note/reject/88319
Search -- https://master.php.net/manage/user-notes.php