Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: formatting datetime with strftime

by Loops (Curate)
on Jul 22, 2013 at 14:53 UTC ( #1045665=note: print w/ replies, xml ) Need Help??


in reply to formatting datetime with strftime

Perhaps you could employ Date::Manip instead of doing it all by hand

use Date::Manip; print UnixDate('05/1/13 16:45 GMT', '%b %d %Y %T %Z');
Output:
May 01 2013 16:45:00 GMT


Comment on Re: formatting datetime with strftime
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2015-07-01 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (24 votes), past polls