On Thu, 13 Feb 2003 [EMAIL PROTECTED] wrote: > Btw, as should be obvious from the last couple of emails, I spent the > evening plaing with DateTime, and I've very impressed. Thought I should > mention that as I send in a slew of bug reports. > > Currently epoch() on DateTime.pm calculates the epoch incorrectly, it > assumes that all objects are stored as GMT, rather then as localtime with > an offset.
Actually, I think it's correct. The UNIX epoch is seconds since January 1, 1970 00:00:00 GMT. So the GMT assumption is indeed correct. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
