3 Replies Latest reply on Nov 23, 2017 1:35 PM by Gary McCarthy

    Email script token with date comparison

    Gary McCarthy

      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