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

Subject: RE: [xsl] Return system's date and time
From: "Bill Riegel" <BRiegel@xxxxxxx>
Date: Fri, 18 May 2007 08:47:35 -0500
Changing the subject a little,
Is there a public java class that converts between a java Date/TimeStamp
Object <> the xsd date string format ?

Bill Riegel
Landmark Graphics
Phone: 713-839-3388
Fax 713-839-3051
-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: Friday, May 18, 2007 8:37 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Return system's date and time

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

----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipient.  Any
review, use, distribution, or disclosure by others is strictly prohibited.  If
you are not the intended recipient (or authorized to receive information for
the intended recipient), please contact the sender by reply e-mail and delete
all copies of this message.

Current Thread