cancel
Showing results for 
Search instead for 
Did you mean: 

.getYear() returns wrong value - returns 108 instead of 2008

eg
Champ in-the-making
Champ in-the-making
There seems to be an issue with the Date object functions.

code:
var dtObject = new Date();
var yr = dtObject.getYear()

yr gets a value of 108 instead of 2008.

The getMonth() function works fine.

I am using enterprise version 2.1.1

Any ideas?
1 REPLY 1

davidc
Star Contributor
Star Contributor