I have two date fields: EstDateofDeparture and EstDateofArrival.
My problem is when EstDateofDeparture falls on a Friday then EstDateofArrival shows on a Saturday and we don’t deliver on Saturdays.
We do have departures on Saturdays but no pickups on Sats and sundays.
So I need the EstDateofArrival to be the following business day (Monday).
Here’s an example below:
EstDateofDeparture: Friday, Dec 7th, 2007
EstDateofArrival: Saturday, Dec 8th, 2007 (it needs to be Monday, Dec 10th, 2007 – next business day).
Example # 2:
EstDateofDeparture: Saturday, Dec 8th, 2007
EstDateofArrival: Sunday, Dec 9th, 2007 (it needs to be Monday, Dec 10th, 2007 – next business day).
T-SQL has a functionalilty where you could for example add getdate()-1 or getdate()+2.
But I can’t find anything in webi formula editor that shows me how to I can do that.
Thanks for the help, but that syntax didn’t work. After I researched it, I learned that there’s a function [RelativeDate] which returns a date plus any increment (whole number) which works.
i.e. =RelativeDate(“01/01/2008”;2) would return “01/03/2008”