SOLVED

Email script token with date comparison

Go to solution
Anonymous
Not applicable

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

#else:

> Show content 3

#end

Tags (2)
1 ACCEPTED SOLUTION
SanfordWhiteman
Level 10 - Community Moderator
3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator
Anonymous
Not applicable

Thank you. Such a thorough blog post. That should have everyone covered!

SanfordWhiteman
Level 10 - Community Moderator

This is crazy -- I'm pubbing a blog post tonight on this. Will link to it!