You're welcome, Dan. Do you have, by any chance, any information to share?
Where is it stored? Where do you want to show it? What technology are you using? If not, I'm afraid that was the only possible answer I will be able to have
Sorry, I thought it was clear - I'm speaking about XSLT. we read the date field from an xml document and would like to transform it to this '2 hours, 51 minutes ago' format.
You would need to pass the current date-time as a global parameter from the outside world. Check out the examples from XSL Cookbook which has a chapter on date and time arithmetic.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.