Re: [xsl] time differences

Subject: Re: [xsl] time differences
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Mon, 25 Feb 2013 09:17:28 +0000
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