Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

EXSLT for date functions

  Asked By: Kaci    Date: Mar 16    Category: Sharepoint    Views: 1335

I have a requirement for my site to show the "new" icon for all news
articles that are 3 days old or newer on the default page of the site
in a content query web part. In order to do this, I need to do a date
comparison. Is there a way to do this? I can't seem to get the exslt
date functions to work on my site.



2 Answers Found

Answer #1    Answered By: Felecia Goff     Answered On: Mar 16

The ddwrt namespace will probable give you what you want.

Answer #2    Answered By: David Scott     Answered On: Mar 16

I wasn't ever able to do a date  comparison in XSLT. Essentially you
will need to add/subtract days  to either [Today] or add/subtract to the
created date into a variable. Please post back if you do find the

Didn't find what you were looking for? Find more on EXSLT for date functions Or get search suggestion and latest updates.