Saturday, January 5, 2008

Compare Dates in Sharepoint XSL

See http://sharethelearning.blogspot.com/2007/06/comparing-dates-in-sharepoint-xsl.html:

<xsl:if test="number(translate(substring-before(ddwrt:FormatDate(@Date_x0020_Raised ,1053 ,5), ' '), '-', ''))+2 < number(translate(substring-before(ddwrt:TodayIso(), 'T'), '-', ''))">
        <img src="_layouts/images/ewr210s.gif" />
</xsl:if>

1 comment:

eSignature said...

Grateful to check out your website, I seem to be ahead to more excellent sites and I wish that you wrote more informative post for us. Well done work.