Hi!

If you don't know it, don't pass it in! Then PHP will guess, just as it
does now and always has done. It's just an extra help in case you need
to be specific about whether you want the ST or DST variant of "02:30".

You can just use EDT/EST anyway, and that would work too (but of course
not set a tz=3 timezone on the object).

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. If I know only the formatted string, how I know if I should add ST/DST or not? I'm a bit unclear on that - how I can make a code that would be able to use this syntax.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to