AnsweredAssumed Answered

Email script token with date comparison

Question asked by e180da9a449c35d86a3e133d138baad6383472b7 on Nov 22, 2017
Latest reply on Nov 23, 2017 by e180da9a449c35d86a3e133d138baad6383472b7

Is is possible with Velocity scripting inside an email script token to look on the system date and show content if it is between date ranges. The system date would need to be converted to be UTC+10:00.


For example:


#if system date is between November 23, 2017 and November 25, 2017:

> Show content 1


#elseif system date is between November 26, 2017 and November 29, 2017:

> Show content 2



> Show content 3