Is localtime() broken?

From: Fred Toewe (ftoewe_at_austin.rr.com)
Date: 07/19/04

  • Next message: Ravi J: "Inline: :Java"
    Date: Mon, 19 Jul 2004 02:54:32 GMT
    
    

    Hey Gurus,

    Was playing the Perl/Tk and happened to try the localtime function. It is
    returning GMT even though I have the ENV variable TZ set to US/Central,
    which applies to my locale. Anyone else have this problem on WINXP?

    I'm running:

    "This is perl, v5.8.4 built for MSWin32-x86-multi-thread
    (with 3 registered patches, see perl -V for more detail)

    Copyright 1987-2004, Larry Wall

    Binary build 810 provided by ActiveState Corp. http://www.ActiveState.com
    ActiveState is a division of Sophos.
    Built Jun 1 2004 11:52:21

    Thanks and cheers
    Fred


  • Next message: Ravi J: "Inline: :Java"