-1

Im iterating everydate on my datepicker, and it seems really odd, but it returns "115" when I try to get the current year.

does it mean 2015 ? why the "1" ?

Thanks

thormayer
  • 1,070
  • 5
  • 27
  • 47

1 Answers1

1

You need to get they year using getFullYear(). I guess you must be using getYear().

void
  • 34,922
  • 8
  • 55
  • 102