Comparing two dates
posted 11 years ago
If you have them as individual integer values (3 each), you can skip creating a Date from them and just do it in an if test. You should reason out what that would look like, but I'll get you started.
Any date in 2004 is before every date in 2005. In the same year, earlier months come before later months regardless of day of month. ... (I gotta leave something for you to figure out!)
Senthil B Kumar