﻿var date=new Date();var year=date.getYear();if (year < 1000) year += 1900;