Johannes Verelst <[EMAIL PROTECTED]> wrote: > It indeed is called 'leap year'. I've had a quick peek at the > 'validator.js' and the problem appears to lie within the Javascript 'Date' > object: > > date.setMonth(month, day); > date.setFullYear(year); > date.setHours(hours, minutes); > > If you put the values 'day=29', 'month=1', 'year=2004', it evaluates to > 'Monday, March 01, 2004' (the monday is correct actually!). (note: days > count from 1, months from 0).
So, actually it is a bug in javascript itself?. But a quick google search give several ways to check date in a good way. Michiel -- Michiel Meeuwissen Mediapark C101 Hilversum +31 (0)35 6772979 nl_NL eo_XX en_US mihxil' [] ()
