note 66884 added to timezones
| From: | KrishnaSrikanth at osu1 dot php dot net | Date: | Wed, 31 May 2006 13:30:14 +0000 |
| Subject: | note 66884 added to timezones | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-112642@lists.php.net to get a copy of this message | ||
You can set the timezone in php.ini or if it cant be accessed, you can include in your script.
in php.ini:
date.timezone=Asia/Calcutta - or some other zone
in the php script:
ini_set("date.timezone","Asia/Calcutta");
//then write your date scripts
//and at last
ini_restore("date.timezone");
----
Server IP: 203.199.107.94
Probable Submitter: 202.65.138.99 (proxied: 10.37.39.11)
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/timezones.php
Edit -- http://master.php.net/note/edit/66884
Del: integrated -- http://master.php.net/note/delete/66884/integrated
Del: useless -- http://master.php.net/note/delete/66884/useless
Del: bad code -- http://master.php.net/note/delete/66884/bad+code
Del: spam -- http://master.php.net/note/delete/66884/spam
Del: non-english -- http://master.php.net/note/delete/66884/non-english
Del: in docs -- http://master.php.net/note/delete/66884/in+docs
Del: other reasons-- http://master.php.net/note/delete/66884
Reject -- http://master.php.net/note/reject/66884
Search -- http://master.php.net/manage/user-notes.php