Current year in file templates

In order to create a copyright statement I would like to get the current year in a file template, but the only variable available is the whole date. Does anybody know if there's any way to extract only the year?

1 comment

"Martin Fuhrer" <mf@fuhrer.com> wrote in message
news:5565906.1078300165374.JavaMail.itn@is.intellij.net...

In order to create a copyright statement I would like to get the current

year in a file template, but the only variable available is the whole date.
Does anybody know if there's any way to extract only the year?

YEAR variable is defined in 4.0 as well as the other parts of DATE.


0

Please sign in to leave a comment.