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

Re: time differences

Subject: Re: time differences
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Mon, 25 Feb 2013 09:17:28 +0000
Re:  time differences
On 25/02/2013 08:56, trond.huso@xxxxxx wrote:
Hi Michael,

In most cases the times will be less than 24 hours. Except when we are dealing with events like Tour de France where the total time is compiled of the times from each stage. So those times can be far more than 24 hours.


In that case I would recommend either

(a) converting the time value such as 1:12.06 to a duration (PT1M12.06S) using regular expressions, or

(b) converting it to an decimal number of seconds

Michael Kay
Saxonica

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

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-2013 All Rights Reserved.