On Tue, Nov 15, 2005 at 10:23:56AM -0800, Bill Moseley wrote:
> Anyone know how to set the timzone in Date::Manip differently every
> time DateTime::Format::DateManip->parse_datetime is called?

Here's one ugly way:

    Date::Manip::Date_Init("TZ=");
    local $ENV{TZ} = $new_zone;
    my $z = Date::Manip::Date_TimeZone();
    Date::Manip::Date_Init("TZ=$z");


> I get dizzy reading the Date::Manip code

Time to look at other parsers.

-- 
Bill Moseley
[EMAIL PROTECTED]

Reply via email to