
var this_year = getThisYear();
document.write(this_year);

function getThisYear() {
  var nd = new Date();
  return nd.getFullYear();
}
