Returns the true if the CalculationDate falls on the end of the week (Sunday), otherwise false.
var date = now.valueOf('2017-03-15');
if (date.isEndOfWeek()){
//doesn’t run
}
Returns the true if the CalculationDate falls on the end of the week (Sunday), otherwise false.
var date = now.valueOf('2017-03-15');
if (date.isEndOfWeek()){
//doesn’t run
}