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

Re: How do I Compare Dates

by httptech (Chaplain)
on Jun 26, 2000 at 21:51 UTC ( [id://19887]=note: print w/replies, xml ) Need Help??


in reply to How do I Compare Dates

Date::Manip is particularly good at this. Look at the DateCalc() method.

Alternatively, since you're getting the values from a database, see if you can get it to return the values in the format yyyy-mm-dd; then a simple string comparison will do. Or - heck - get it in nnnnnnnnn format, a number representing seconds since the epoch. Then a simple numeric comparison will do!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-12-14 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (70 votes). Check out past polls.