Page 1 of 1

Having the Copyright Year always up to date

Posted: Sat Apr 09, 2011 10:27 am
by plugables
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.