Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: TimeZone convert problem.

by Anonymous Monk
on Oct 04, 2012 at 20:35 UTC ( #997322=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $dt = DateTime::Format::ISO8601->parse_datetime( $datestr  );
    my $dt = DateTime::Format::DateParse->parse_datetime( $datestr );
    my $dt = DateTime::Format::Flexible->parse_datetime( $datestr  );
    
  2. or download this
    $dt->set_time_zone( 'Country/City' );
    print $dt->strftime( q[%a %b %e %H:%M:%S %Z %Y] ), "\n";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (17)
As of 2014-07-10 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (215 votes), past polls