Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: formatting datetime with strftime

by poj (Prior)
on Jul 22, 2013 at 15:34 UTC ( #1045676=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $datetimestring = "5/4/13 16:09";
    my ($month,$day,$year,$hour,$min) = split /\D/,$datetimestring;
    my $str =  strftime("%b %d %Y %H:%M:%S", 0,$min,$hour,$day,$month-1,$y
    +ear+100);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1045676]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2017-02-26 02:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (371 votes). Check out past polls.