macro expression for comparing date woith publish to date

sarathlal s asked on April 14, 2014 02:06

Hi,

I have a repeater which is configured to show the events. The events were created in "Event calendar". How can i compare today's date with the "0publish from" and "publish to" fields in repeater.

Is it possible to include macro in where condition of repeater, please suggest me.

Thank you, sarat

Recent Answers


Brenden Kehren answered on April 14, 2014 07:14

Should be able to use DocumentPublishFrom >= GETDATE(). If you check the "Select only published" checkbox to automatically hide/show the items. While you're in the CMSDesk, they will all show, you have to look in either Preview or Live mode or log out to see the full effect.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.