Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - How to get the current time in milliseconds >Thread Next - Re: How to get the current time in milliseconds Re: How to get the current time in millisecondsTo: NULL Date: 6/10/2008 2:00:00 PM khalil_mi@h... wrote: > I need to get the current time in hours, minutes, seconds and > milliseconds > > the function current-time() does not return the milliseconds Which XSLT processor are you using? Saxon 9 gives me 13:58:35.671+02:00 with the following stylesheet: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:output method="text"/> <xsl:template name="main"> <xsl:value-of select="current-time()"/> </xsl:template> </xsl:stylesheet> -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
