Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Chris (Yoursite)
2019-05-12T09:49:26Z
Hi,

Has anyone found a var in VC that would allow an email template to be changed on the time of day? I am thinking to use an excel macro to work it out and pull in VC but just wondered if there was a cleaner option.

Example:

00:00AM - 11:59AM -- Good Morning
12:00PM - 05:59PM -- Good Afternoon
06:00PM - 11:59PM -- Good Evening

Thanks,
Chris
Sponsor
Forum information
bweston
2019-05-13T15:19:04Z
{LOGIC(If|Integer|{DATEFORMAT(HHmm)}|>=|1800|Evening|{LOGIC(If|Integer|{DATEFORMAT(HHmm)}|>=|1200|Afternoon|Morning)})}


Should be able to set that as a user variable for easier and more concise reuse if desired, I think.
Scroll to Top