I have two dates: 1. mfg date
2. incident date
I need to calculate the number of days 2 and 1.
This is what i have:
<xsl:when test="Complaint/V_CXP_CUSTOMER_PXP/CXP_MFG_DATE ='CXP_MFG_DATE'">
<C20_Age_of_Device><xsl:value-of select="V_CXP_CUSTOMER_PXP/CXP_AWARE_DATE='CXP_AWARE_DATE - CXP_MFG_DATE'"></C20_Age_of_Device>
that is to say, if the mfg date is available, then calculate the number of days between the incident date and mfg date. am i using the correct syntax? I am new to this, so is there a simple way of doing it? The fields are obtained from a form.
thanks
bernie