xsl-list
[Top] [All Lists]

Format date/time according to time zone.

2004-12-30 11:39:57
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

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



<Prev in Thread] Current Thread [Next in Thread>
  • Format date/time according to time zone., Kevin Doran <=