xsl-list
[Top] [All Lists]

Re: How to get UTC displayed on XSLT

2005-08-24 03:36:50
oh.. I did'nt saw this function :)

Regards,
Mukul

On 8/24/05, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:

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

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