[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Format date/time according to time zone.

Subject: Format date/time according to time zone.
From: "Kevin Doran" <DORANK@xxxxxxxxx>
Date: Thu, 30 Dec 2004 14:39:57 -0400
xsl format date time
I have an asp page that displays information from an xml document. I use
an xslt doc to format xml data and produce the asp page. One bit of data
from the xml doc is the data/time stamp. The time stamp is in GMT. I
want to change the GMT to reflect the time zone I'm in. I want it to be
4 hours earlier. Is there method to format date/time in xslt?

Here the code I have in xslt doc to extract the date/time from the xml
doc.
<xsl:value-of select= "rpuData/essIdent/@TimeStamp" />...
it returns something like this 12/30/2004 18:05  the date is correct
but the time is GMT I want the time to be 12/30/2004 14:05. 
 
Thanks
K Doran

Current Thread

Back To School Sale!

Save 30% off all Stylus Studio 2008 Products when you purchase from our Online Shop.

Offer ends August 31, 2008.

Coupon Code
TRTY-C4JV-OFF

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.