To get your website to automatically update your copyright year simple use one of the following:
Copyright year in PHP
© <?php echo date(“Y”) ?>
Copyright year in Classic ASP
<% response.write (“©” & Year(Now)) %>
Copyright year in .NET
<%=”©” & DateTime.Now.Year %>
Copyright year in JavaScript
<SCRIPT LANGUAGE=”JavaScript”>
today=new Date();
cy=today.getFullYear();
document.write(‘©’ + cy);
</SCRIPT>
If you have used any of the above code please comment below…
Latest Tweet: "