AnsweredAssumed Answered

Script using current date

Question asked by truji_ on Jan 20, 2011
Latest reply on Jan 21, 2011 by truji_


Script using current date


I'm trying to create a script that goes to 'x' layout if the current date > 1/20/2011 and goes to 'y' layout if current date < 1/20/2011.

I tried:

if Get(CurrentDate)>1/20/2011

Go to Layout ('x')

else if get(CurrentDate) <....

Do I need to create a field that calculates the date and then use a script that runs an 'insert currnet date' ? If not, what can I do?