Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Determining Time Zone on Win32

by bsb (Priest)
on May 10, 2006 at 07:01 UTC ( [id://548396]=note: print w/replies, xml ) Need Help??


in reply to Re: Determining Time Zone on Win32
in thread Determining Time Zone on Win32

Time::Piece::tzoffset looks good, thanks
perl -MTime::Piece -le '$m=localtime->tzoffset->minutes; printf "%+02. +2d%02.2d\n", int($m/60), $m%60' +1000 # cmd.exe friendly perl -MTime::Piece -le "$m=localtime->tzoffset->minutes; printf qq(%+0 +2.2d%02.2d\n), int($m/60), $m%60" +1000

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://548396]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-19 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found