Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: checking for valid date

by Ieronim (Friar)
on Jul 30, 2006 at 10:31 UTC ( #564603=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Time::Local;
    my $date = ' 19990230'; # 30th Feb 1999
    ...
        timelocal(0,0,0,$day, $month-1, $year); # dies in case of bad date
    + 
        1;
    } or print "Bad date: $@";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2016-10-01 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (9 votes). Check out past polls.