Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Verifying a date

by daxim (Curate)
on Oct 02, 2019 at 16:24 UTC ( [id://11106975]=note: print w/replies, xml ) Need Help??


in reply to Verifying a date

Mind the behaviour of the %y token.
$strp = DateTime::Format::Strptime->new(pattern => '%m.%d.%y'); $dt = $strp->parse_datetime('02.29.16'); # defined $dt = $strp->parse_datetime('02.29.19'); # undefined

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2025-07-11 14:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.