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
> TemplateDefault.pm 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 )'
2008
--
Bill Moseley
moseley@hank.org
Unsubscribe from or help with the swish-e list:
http://swish-e.org/Discussion/
Help with Swish-e:
http://swish-e.org/current/docs
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Tue Jan 22 14:17:18 2008