Next Weekday

Next Weekday

For
From
Facebook
Status
Updating
Share
Entries

Next Weekday

if(day(prop("Do Date")) == 0, dateAdd(prop("Do Date"), 1, "days"), if(day(prop("Do Date")) == 6, dateAdd(prop("Do Date"), 2, "days"), prop("Do Date")))
if(day(prop("Do Date")) == 0, dateAdd(prop("Do Date"), 1, "days"),
If the day number of Do Date is 0 (Sunday), add 1 day to the Do Date.
if(day(prop("Do Date")) == 6, dateAdd(prop("Do Date"), 2, "days"),
Otherwise if the day number of Do Date is 6 (Saturday), add 2 days to the Do Date.
prop("Do Date")))
If the day number of Do Date is not 0 or 6, display the original Do Date.
 
By Ben  •  Latest  •  Was this helpful? Please consider buying me a coffee. Cheers!By Ben  •  Latest  •  Was this helpful? Please consider buying me a coffee. Cheers!
By BenLatest • Was this helpful? Please consider buying me a coffee. Cheers!