Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - time/date functions in xslt or xpath [Thread Next] Re: time/date functions in xslt or xpathTo: NULL Date: 11/4/2005 7:01:00 AM Read the F&O document -- a big part of it is dedicated to date-time
processing functions.
In particular, do have a look at op:subtract-dates()
http://www.w3.org/TR/xpath-functions/#func-subtract-dates
Cheers,
Dimitre Novatchev
"shaun" <shaun.roe@c...> wrote in message
news:shaun.roe-C9FE71.15392103112005@s......
>I need to calculate a duration in seconds between 1 January 1970 and an
> arbitrary date (e.g today) within an xslt transform which gives the same
> answer as the time.h functions would in C. I can use xslt 2.0, however I
> cant see from the web docs how to do this.
>
> any guesses?
>
> cheers
>
> shaun
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
