-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
  • 6
  • 28
  • 49

1 Answers1

1

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

void
  • 36,090
  • 8
  • 62
  • 107