Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] How do I get the current year in

From: Bill Moseley <moseley(at)>
Date: Tue Jan 22 2008 - 19:17:18 GMT
On Tue, Jan 22, 2008 at 01:08:50PM -0600, Adam Douglas wrote:
> Hi. I'm altering the rendering of swish.cgi by modifying the
> and was wondering how would I be able to calculate
> the current year and then have it displayed?

TemplateDefault is just Perl, right?  

$ perl -le 'print( (localtime)[5]+1900 )'

Bill Moseley

Unsubscribe from or help with the swish-e list:

Help with Swish-e:

Users mailing list
Received on Tue Jan 22 14:17:18 2008