note 95565 added to function.date-default-timezone-set
| From: | ChristopherKramer at osu1 dot php dot net | Date: | Sat, 09 Jan 2010 18:03:11 +0000 |
| Subject: | note 95565 added to function.date-default-timezone-set | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-164813@lists.php.net to get a copy of this message | ||
Additional note to my previous post:
I tried:
<?php
ini_set('date.timezone',date_default_timezone_get());
?>
This resultet:
1.28869318962 on the Windows PHP 5.2.6-Machine
Thats a bit curious. It's always a lot faster than without, but not as fast as
date_default_timezone_set(). I did not check this on the linux-machines, but I expect similar
results.
Btw: date_default_timezone_get() returns "Europe/Paris" for me.
----
Server IP: 69.147.83.197
Probable Submitter: 91.45.113.100
----
Manual Page -- http://www.php.net/manual/en/function.date-default-timezone-set.php
Edit -- https://master.php.net/note/edit/95565
Del: integrated -- https://master.php.net/note/delete/95565/integrated
Del: useless -- https://master.php.net/note/delete/95565/useless
Del: bad code -- https://master.php.net/note/delete/95565/bad+code
Del: spam -- https://master.php.net/note/delete/95565/spam
Del: non-english -- https://master.php.net/note/delete/95565/non-english
Del: in docs -- https://master.php.net/note/delete/95565/in+docs
Del: other reasons-- https://master.php.net/note/delete/95565
Reject -- https://master.php.net/note/reject/95565
Search -- https://master.php.net/manage/user-notes.php