Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Date::Manip and date

by SBECK (Hermit)
on Jul 09, 2015 at 17:45 UTC ( #1134000=note: print w/replies, xml ) Need Help??


in reply to Re: Date::Manip and date
in thread Date::Manip and date

By default ParseDate uses MM/DD/YYYY, but you can change that. If you add the following:
Date_Init("DateFormat=non-US");
it will interpret this as DD/MM/YYYY.
Of course, Date::Manip will also interpret YYYY-MM-DD directly, so there's really no need to transform the dates into DD/MM/YYYY format.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2018-10-17 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (92 votes). Check out past polls.

    Notices?