Hi all
I am trying to workout the difference between 2 dates
Using datediff and exculding weekends and bank holidays.
I have the example below to exclude weekends.
DateTimeVar d1 := {Orders.Order Date};
DateTimeVar d2 := {Orders.Ship Date};
DateDiff ("d", d1, d2) -
DateDiff ("ww", d1, d2, crSaturday) -
DateDiff ("ww", d1, d2, crSunday)
How would i go about excluding specific dates? i.e don't count if 1/5/2006. These aren't stored in the database i'm linking too.
Thanks in advance
Paul
I am trying to workout the difference between 2 dates
Using datediff and exculding weekends and bank holidays.
I have the example below to exclude weekends.
DateTimeVar d1 := {Orders.Order Date};
DateTimeVar d2 := {Orders.Ship Date};
DateDiff ("d", d1, d2) -
DateDiff ("ww", d1, d2, crSaturday) -
DateDiff ("ww", d1, d2, crSunday)
How would i go about excluding specific dates? i.e don't count if 1/5/2006. These aren't stored in the database i'm linking too.
Thanks in advance
Paul