Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2018-08-16 12:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (167 votes). Check out past polls.

    Notices?