Having the Copyright Year always up to date

This forum is where we'll mirror posts that are of value to the community so they may be more easily found.
Post Reply
plugables
Captain (CAPT)
Captain (CAPT)
Posts: 276
Joined: Sat Aug 15, 2009 4:04 am
Contact:

Having the Copyright Year always up to date

Post by plugables » Sat Apr 09, 2011 10:27 am

Years pass by so quickly. A few months have already passed before you realize (or someone else points this out to you) that the copyright year in your store footer is already out of date. Well you don't need to worry about this any more. There is a very simple solution to this problem. Just use something like the following in the footer scriptlet.

Code: Select all

© Copyright $customer.LastActivityDate.ToString("yyyy") Plugables.com
Your copyright year will always be up to date.

Post Reply