Re: [VOTE] DateTime and Daylight Saving Time Transitions
| From: | Daniel Convissor | Date: | Sat, 29 Oct 2011 12:00:05 +0000 |
| Subject: | Re: [VOTE] DateTime and Daylight Saving Time Transitions | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-55989@lists.php.net to get a copy of this message | ||
Hi Stas:
> That's what I don't understand - so in the real code, what would be
> the use case where I'd want to use ST/DST? I.e., if I know the exact
> time, I could just use the timestamp or GMT time which doesn't have
> transitions.
Yeah, this stuff is very edge case. It is for use when one needs to
have the transition information and create a time zone object that's in
the repeated period during a backward transition. One case it's needed
is in unit testing DateTime.
Thanks,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409