View Single Post
  #7 (permalink)  
Old May 7th, 2008, 07:43 AM
iceandrews iceandrews is offline
Authorized User
Points: 340, Level: 6
Points: 340, Level: 6 Points: 340, Level: 6 Points: 340, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2008
Location: , OH, USA.
Posts: 70
Thanks: 17
Thanked 1 Time in 1 Post
Send a message via Yahoo to iceandrews
Default

Quote:
quote:Originally posted by arunprasadlv
 Hi,

The below output looks good but it is missing the 'milliseconds'in the time format .Is there any function to get the time in long format including milli seconds

"20080605 14:45:04:59 -04:00"

Thanks,
Arun

With milliseconds

<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes" />

<xsl:template match="/">
<html>
<body>
<xsl:value-of select="format-dateTime(current-dateTime(), '[Y,4][D,2][M,2] [H]:[m]:[s]:[f01] [Z]')" />
</body>
</html>
</xsl:template>

</xsl:stylesheet>

Reply With Quote