Yes, the dates are entered by the user, as part of a CGI script. I need to take month and year into consideration, and with months having differing lengths (28-31 days), simple subtraction won't do it accurately enough.<br>
Say one of the dates is May 20th and the other is June 3rd, the answer...