#31352 [NEW]: Important Section, not Documentated
| From: | gordonisnz+phpnet at gmail dot com | Date: | Thu, 30 Dec 2004 12:23:19 +0000 |
| Subject: | #31352 [NEW]: Important Section, not Documentated | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969365712@lists.php.net to get a copy of this message | ||
From: gordonisnz+phpnet at gmail dot com
Operating system: N/A
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Important Section, not Documentated
Description:
------------
http://www.php.net/manual/en/ref.datetime.php
In the TIME / DATE sections of your site, There are very few references to
the
PHP_TZ - Timezone area of PHp - this can be very useful..
EG :-
Example shown :- http://nz2.php.net/localtime
notes :-
test at test dot de
22-Aug-2001 05:05
(I didnt put that there)
- Ive been looking for Some time, & the
putenv( "PHP_TZ=Europe/Berlin" );
That command can be very useful to me - & does exactly what I want /
Need
- Ps - Can it also be added to the side-menu too..
- ALSo - a list of known timezones that PHP recognises ??
Thanks...
Reproduce code:
---------------
<?php
print "<HTML><body><pre>";
setlocale( "LC_ALL", "de_DE" );
putenv( "PHP_TZ=Europe/Berlin" );
$now = time();
print_r( localtime(time(),true) );
print_r( getdate() );
print date("H:i:s");
print date("T");
?>
--
Edit bug report at http://bugs.php.net/?id=31352&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31352&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31352&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31352&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31352&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31352&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31352&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31352&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31352&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31352&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31352&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31352&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31352&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31352&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31352&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31352&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31352&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31352&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31352&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31352&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31352&r=mysqlcfg