Subject: RE: [xsl] system call? From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Tue, 20 Sep 2005 05:34:16 +0100 |
> If you use an XSLT 2.0 processor (such as Saxon 8), you can get the > current year as follows: > > <xsl:variable name="thisyear" select="format-date(current-date(), > '[Y0001]')"/> or rather more efficiently select="year-from-date(current-date())" Michael Kay http://www.saxonica.com/
Current Thread |
---|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] system call?, TGolshan | Thread | RE: [xsl] system call?, cknell |
[xsl] Project Organization, Alan | Date | [xsl] XML to HTML, Shailesh Shinde |
Month |