get year timestamp c# code example
Example: c# @datetime show only year
<footer class="border-top footer text-muted">
<div class="container">
© @DateTime.UtcNow.Year - Home <a asp-area="" asp-controller="Home" asp-action="Privacy"></a>
</div>
</footer>