you could use the function, current-date.
but also, you can truncate time portion in the string 2007-05-18+05:30
easily, using XSLT string handling functions.
On 5/18/07, J. S. Rawat <jrawat(_at_)aptaracorp(_dot_)com> wrote:
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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--