ibm-datapower

How do we test whether a date is within 180 days from today in xslt in datapower

≯℡__Kan透↙ 提交于 2019-11-28 14:21:23
I am writing an xslt for datapower and in that I am getting a date(Payment Date).I have to check whether that date(Paymentt Date) is within 180 days of current date I am getting present date by the following <xsl:variable name="timestamp" select="date:date-time()"/> Now how to check the condition for 180 days Following is my xslt <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dp="http://www.datapower.com/extensions" xmlns:date="http://exslt.org/dates-and-times" xmlns:dpconfig="http://www.datapower.com/param/config"

How do we test whether a date is within 180 days from today in xslt in datapower

扶醉桌前 提交于 2019-11-27 08:29:31
问题 I am writing an xslt for datapower and in that I am getting a date(Payment Date).I have to check whether that date(Paymentt Date) is within 180 days of current date I am getting present date by the following <xsl:variable name="timestamp" select="date:date-time()"/> Now how to check the condition for 180 days Following is my xslt <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dp="http://www.datapower.com/extensions"