Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: What's my timezone offset?

by BigLug (Chaplain)
on Feb 10, 2006 at 03:23 UTC ( [id://529268]=note: print w/replies, xml ) Need Help??


in reply to What's my timezone offset?

DateTime is your date-and-time sidchrome tool set (or sledgehammer if you don't need to do anything else with date/times):
use DateTime; my $now = DateTime->now( time_zone => 'local' ); print $now->time_zone->offset_for_local_datetime( $now );

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-03-29 15:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found