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

Re: Date format

by Anonymous Monk
on Jun 12, 2018 at 16:10 UTC ( #1216480=note: print w/replies, xml ) Need Help??


in reply to Date format

The Perl language is bristling with time-handling modules, both within the core of the language and otherwise. You certainly do not need to write your own code to pick-apart a well-formed date string. Create a date/time object, tell it to parse the string you have. When you're ready to spit out the date, tell the object to give it to you in string form (according to the format of your choice). See e.g. "Time::Piece."

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2018-09-20 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Eventually, "covfefe" will come to mean:













    Results (170 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!