GingerSquirrel
6/16/2016 - 1:55 PM

This code will display the copyright year dynamically so that it doesn't have to be updated.

This code will display the copyright year dynamically so that it doesn't have to be updated.

// Javascript
<script>document.write(new Date().getFullYear())</script>

Or 

//Razor
@DateTime.Now.Year.ToString()