The MetaSieve Blog

December 31, 2009

Tired of updating your copyright notices each year?

Filed under: Uncategorized — Tags: , — Björn Wilmsmann @ 7:15 pm

If you have a website chances are you go through the same tedious process each January, 1st: Updating your copyright notice to the current year. If you happen to use Grails for your website you can have it handle that update automatically for you (other frameworks and languages are of course capable of this, too) by adding the following code to the footer of your layout:

&copy; <g:formatDate format="yyyy" date="${new Date()}"/>


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at

%d bloggers like this: