I'm trying to compare two dates with time. I'm able to compare just the date, but when I add the time element it doesn't work. I'm not sure what the correct format should be.
<xsl:if test="ddwrt:FormatDateTime(ddwrt:TodayIso(),1033,'yyyyMMdd hhmmss') < ddwrt:FormatDateTime(string(@Date_x002f_Time), 1033, 'yyyyMMdd hhmmss')">
Test
</xsl:if>
My goal is to compare the two dates to check if there is less than 30 minutes to the Date_x002f_Time field. If it is 3:30pm today and @Date_x002f_Time value is 3:35pm then my value will not show. If it is 3:00pm today and Date_x002f_Time value is 3:35pm then my value will show