$(document).ready(function () { $('.year').html(new Date().getFullYear()); });