Checking a fairly recent date for validity (that is, to make certain the date says "30 Jun 1922" and not "31 Jun 1922" or "30 Jum 1922") is fairly easy for years after 1900.
Before 1900, is there an easy way? For example, how would I verify that Feb 29, 1703 is a leap year? (Its not) Or that Apr 31, 1705 does exist? Right now, I add 2000 to the year to make it after 1900 and then check for validity. Is that the best way?
Thanks.
Robert
------------------
Before 1900, is there an easy way? For example, how would I verify that Feb 29, 1703 is a leap year? (Its not) Or that Apr 31, 1705 does exist? Right now, I add 2000 to the year to make it after 1900 and then check for validity. Is that the best way?
Thanks.
Robert
------------------
Comment