« Return to the main article
I had trouble getting Validate function to work properly for all months. I had
to replace the
in the three New Date calls in the valiDate function. Seems to work fine
without the parseInt. Is there some reason why parseInt is needed here?