Re: [xsl] How to get UTC displayed on XSLT

Subject: Re: [xsl] How to get UTC displayed on XSLT
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 24 Aug 2005 10:59:30 +0100
> Hi David,
>   I could not find any operators or functions in XPath 2.0 which could
> do this directly.

You just need:

adjust-time-to-timezone(current-time(),xdt:dayTimeDuration('PT0H'))

where xdt is
xmlns:xdt="http://www.w3.org/2005/04/xpath-datatypes";


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread