note 98508 added to function.date-default-timezone-set
| From: | "contact at arpan dot x10 dot bzhttp"://arpan dot x10 dot bz at osu1 dot php dot net | Date: | Sat, 19 Jun 2010 13:08:50 +0000 |
| Subject: | note 98508 added to function.date-default-timezone-set | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-170284@lists.php.net to get a copy of this message | ||
It is possible to set time zone of remote server.
Just try this simple solution:
<?php
date_default_timezone_set('Asia/Calcutta');
echo date('h:i:s');
?>
----
Server IP: 59.162.86.8
Probable Submitter: 117.194.0.91
----
Manual Page -- http://www.php.net/manual/en/function.date-default-timezone-set.php
Edit -- https://master.php.net/note/edit/98508
Del: integrated -- https://master.php.net/note/delete/98508/integrated
Del: useless -- https://master.php.net/note/delete/98508/useless
Del: bad code -- https://master.php.net/note/delete/98508/bad+code
Del: spam -- https://master.php.net/note/delete/98508/spam
Del: non-english -- https://master.php.net/note/delete/98508/non-english
Del: in docs -- https://master.php.net/note/delete/98508/in+docs
Del: other reasons-- https://master.php.net/note/delete/98508
Reject -- https://master.php.net/note/reject/98508
Search -- https://master.php.net/manage/user-notes.php