I have read a few postings regarding my questions but I am still not sure how to modify the code for my use.
I have a date column [DateOut] that I want to use for some conditional formatting in SPD. Basically if an list item where the [Current Date] is 50 days after the [DateOut] then format. I can set the formatting just can't figure how to add/minus the 50 days against the [Current Date] or [DateOut].
eg
If [DateOut] < [Current Date] - 50 days, then format.
I have read similar articles but can't get it right.
“<xsl:if test="number(translate(@date1,'-','')) > number(translate(substring-before($Today,'T'),'-',''))">your format</xsl:if>”
OR
<xsl:if test="ddwrt:FormatDateTime(string($Today), 1033, d) > ddwrt:FormatDateTime(string(@StartDate), 1033, d) + 3">
Here is my current ADV code without the 50 day offset
ddwrt:DateTimeTick(ddwrt:GenDisplayName(string($thisNode/@DateOut))) < ddwrt:DateTimeTick(ddwrt:GenDisplayName(string($Today)))If someone can help either with the code that goes into the page or what to put into the Advanced Conditioning window would be great.
Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.