in reply to Re: Date in Filename
in thread Date in Filename

Why gmtime?

    -- Chip Salzenberg, Free-Floating Agent of Chaos

Replies are listed 'Best First'.
Re: Re(2): Date in Filename
by jdporter (Paladin) on May 19, 2003 at 18:22 UTC
    There are various good reasons. One that I find compelling is that in this Internet Age, where I am and where my process runs might not be in the same timezone. Indeed, we might have many users in many timezones, and many servers in many timezones. I'm finding localtime to be rapidly diminishing in usefulness.

    jdporter
    The 6th Rule of Perl Club is -- There is no Rule #6.

Re: Re(2): Date in Filename
by benn (Vicar) on May 19, 2003 at 16:52 UTC
    Maybe to avoid any ambiguity with DST? Otherwise, the error log could overwrite itself during the 'switching hour'.

    Cheers,Ben.