xsl-list
[Top] [All Lists]

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

2007-05-18 06:37:37
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/


--~------------------------------------------------------------------
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>
--~--