xsl-list
[Top] [All Lists]

Re: [xsl] time differences

2013-02-25 03:17:39

On 25/02/2013 08:56, trond(_dot_)huso(_at_)ntb(_dot_)no 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

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