Hi,
are you using the datejs framework??

I had also Dates where I got a "RangeError"! In my case it was my fault, because I inculded unintended the datejs library twice! (It is also a problem if you include core.js and date.js!!)

Just a suggestion....