Mudguard, I think a lot depends on what we are talking about. I was reffering to Java which I thought was what Alan meant and the getYear function is marked as being deprecated in my reference and refers to the calender class for the prefered functions.If we are reffering to Java Script, according to the latest reference I have, getYear is also deprecated and versions 1.3 onwards support getFullYear.
Not that I have ever used the date time functions in either language and come to that, I have never written any Java Script code.
Jon