AnsweredAssumed Answered

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

Question asked by eg on Feb 18, 2008
Latest reply on Feb 18, 2008 by davidc
There seems to be an issue with the Date object functions.

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?