Guys,

Im trying to create a simple calendar, but Ive found that the date object has a bug, at least with Brazilian GMT time. The object considers month 1 (February) as March. Can someone give a help on how to go over this?

Thanks!

var d = new Date()
d.setMonth(1)
document.write(d);

----> Fri Mar 02 2007 14:03:21 GMT-0300 (Hora oficial do Brasil)