"getYear(): returns a two digit representation of the year in the date object " (efs help file)
(where d = new Date())
prints "d.getYear()=<108>, type = number"
d.getFullYear() works OK
PHP Code:
debugPrint("d.getYear()=<"+d.getYear()+">, type = " + (typeof d.getYear() ) + "\n");
prints "d.getYear()=<108>, type = number"
d.getFullYear() works OK
Comment