« Return to the main article
I had trouble getting Validate function to work properly for all months. I had to replace the
parseInt(dateBits[1])
with simply
dataBits[1]
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?
I had trouble getting Validate function to work properly for all months. I had to replace the
parseInt(dateBits[1])
with simply
dataBits[1]
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?