var today = new Date()var year = today.getYear()if(year<1000) year+=1900