Subject: Re: [xsl] Return system's date and time From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx> Date: Fri, 18 May 2007 18:44:45 +0530 |
but also, you can truncate time portion in the string 2007-05-18+05:30 easily, using XSLT string handling functions.
Thanks Abel!!! Need a tips once again. How can we get the system time without timezone. The result of current-time() is 2007-05-18+05:30 but I want only 2007-05-18.
Thanks JSR
At 12:04 PM 5/14/2007 +0200, you wrote: >Abel Braaksma wrote: >> >><xsl:stylesheet >> xmlns:fn="http://www.w3.org/2005/02/xpath-functions" >> xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> > > >Correction (thanks Florent), that should become: > ><xsl:stylesheet > xmlns:fn="http://www.w3.org/2005/xpath-functions" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> > >but is not necessary anyway (again see Florent's comments), so you can do >without it... > >-- Abel >
-- Regards, Mukul Gandhi
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Return system's date and , J. S. Rawat | Thread | RE: [xsl] Return system's date and , Michael Kay |
Re: [xsl] How do I change a XSL sty, kieters c | Date | RE: [xsl] Return system's date and , Michael Kay |
Month |