On Tue, 11 Feb 2003, Rick Measham wrote:

> The second problem:
> When this runs, both $dt->hour commands return 15. This is because the
> set_time_zone module interprets -0400 as -400 seconds rather than -4 hours.

Ugh.  I just realized that accepting both numbers and strings won't work
since things like '-1000' are extremely ambiguous (1000 seconds or 10
hours?).

I suppose I should stick with treating them as strings, since that's
seems to the be the common usage.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

Reply via email to