today=new Date(); // Initialize Date in raw form
year=1900 + today.getYear(); // Get the year

document.write (year);

