In the footer of all your pages, do you have a copyright statement, with the year?
Are you tired of having to update it every year?
All you need to do is put a label (let’s call it ‘Label1′) in the place of your year. Then, in the Page_Load Event, put the following code:
That’s all there is to it – – it will change each time the year changes and you never need to look at it again.
All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF