I have a node in my file XSLT, i want subtracting n hours.
<xsl:element name="DocDate">
<xsl:variable name="Date" select="'2013-11-21T11:41:25'"/>
<xsl:variable name="Date_sub" select="substring($Date,12,19)" /> //Here i bring the hour (11:41:25)
</xsl:element>
But now i want subtracting n hours for example subtract two hours. I want some like this: Hour = (11:41:25) - (02:00:00) = (09:41:25). Some suggestions? Thanks
Sorry, i´m using XSL 1.0.