|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-12-12 16:59 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 17:00:02 2025 UTC |
When used for time zone that varies by the half hour rather than the standard one hour from GMT (or 45 min - Nepal) will output combination of hours and second as difference to Greenwich: date("O"); will generate (date("r")) : +052700 Nepal Standard Time(GMT+05:45) -031800 Newfoundland Standard Time (GMT-03:30), etc. PHP documentation: O - Difference to Greenwich Time in hours; e.g. "+0200" NOT in hours AND seconds...date("Z") works fine. Peter