if (new Date().getFullYear() === 2021) { document.write(new Date().getFullYear() + " Minteck"); } else { document.write("2021-" + new Date().getFullYear() + " Minteck"); }