[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Return system's date and time


Subject: RE: [xsl] Return system's date and time
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 18 May 2007 14:37:13 +0100

> but also, you can truncate time portion in the string 
> 2007-05-18+05:30 easily, using XSLT string handling functions.

If you acually want a date-without-timezone, rather than a string, you can
use

adjust-date-to-timezone(current-date(), ())

And of course you can always use format-date() to format the components you
want, and ignore the others.

Michael Kay
http://www.saxonica.com/


Current Thread
Keywords