Has anyone been able to get the conditional formatting for work based on dates?
I want to apply formatting to a list item that was created more than 7 days ago.
I have exhausted my Google searching and nothing. This is the expression that seems others have used. But it’s not working for me.
number(translate(substring-before(@Created,'T'),'-','')+7) >=
number(translate(substring-before($Today,'T'),'-',''))
I think your looking for XSL template matches;
In the SharePoint Designer formula field, create a calculated formula on conditional formatting and associate this with the List items to be indicated as created over 7 days ago;
=Created=+7
Essentially you are talking “Calculated Columns” and the conditional formatting is based on XSL translations, as my list of xsl:variables describes. You might not be manually editing the XSL template but then again you may well be as what you have described in the above example appears to be XSLT.
SharePoint Designer 2010 you can add calculated columns and formats are described on MSDN for reference.
Hope this is of some help! 🙂