// JavaScript Document
today=new Date(); // Defining the date
year=today.getFullYear(); // Get the year from user

document.write (year);