Skip to main content.
home | support | download

Back to List Archive

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

From: Adam Douglas <ADouglas(at)>
Date: Wed Jan 23 2008 - 21:35:23 GMT
Sorry I realized after posting this that this is more of Perl question
then Swish-E question. If it at all helps those wanting to get the
current year in their Template can do so like so.

my $year = (localtime)[5] + 1900;

Refer to for a detailed


This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and
(i) destroy this message if a facsimile or (ii) delete this message
immediately if this is an electronic communication.

Thank you.
Users mailing list
Received on Wed Jan 23 16:35:23 2008