470,849 Members | 1,287 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

Is localtime() broken?

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
Jul 19 '05 #1
0 2216

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Dariusz | last post: by
2 posts views Thread by Raskolnikow | last post: by
5 posts views Thread by Raj | last post: by
1 post views Thread by OleMacGeezer | last post: by
16 posts views Thread by maruk2 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.