in reply to convert UTC time to system time zone's time with perl default method

I cannot install any addon module as it is going to be used in many other systems.

So if the code comes from PerlMonks.org, it's ok, but if the code comes from cpan.org, it's not???

  • Comment on Re: convert UTC time to system time zone's time with perl default method

Replies are listed 'Best First'.
Re^2: convert UTC time to system time zone's time with perl default method
by anonymized user 468275 (Curate) on Nov 24, 2010 at 16:49 UTC
    CPAN modules are sort of designed as black boxes. I don't feel that the implied suggestion to open up the black boxes is good advice. I feel instead we should help people learn to code from first principles if they want to.

    One world, one people

      No, you're suggesting we should help people learn the intricacies of time zones, not how to code. Most people can't even seem to remember days don't always have 24 hours.