xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor