xsl-list
[Top] [All Lists]

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

2007-05-18 06:47:59
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(_at_)saxonica(_dot_)com] 
Sent: Friday, May 18, 2007 8:37 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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/


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

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

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