Email send based on day.

4 posts by 2 authors in: Forums > CMS Builder
Last Post: October 30, 2017   (RSS)

By leo - October 30, 2017

Hi Tim,

Syntax-wise it should work as long as you haveĀ $snippetsRecord['bookings_contact_after_hours'] defined. Let me know if it's not working or you have questions.

Thanks!

Leo - PHP Programmer (in training)
interactivetools.com

By Toledoh - October 30, 2017

Great - thanks.

Can you give me any direction on how to set up those "if" statements?

Cheers,

Tim (toledoh.com.au)

By leo - October 30, 2017

Hey Tim,

There are many ways to achieve it. Here is an example:

if( date('N') >= 5 && strtotime('now') >= strtotime('friday 17:00') )

Let me know if it works.

Thanks!

Leo - PHP Programmer (in training)
interactivetools.com