Below is the formula I'm trying to use to calculate the difference from the Recieved Date and Time to the Closed Date and Time, however it has to be based on 10 hour days excluding weekends. I get a message saying "date-time is required" when I check the formula.
Local DateTimeVar d1 := {CallLog.RecvdDate};
Local DateTimeVar d2 := {CallLog.Closeddate};
cdbl(DateDiff ("d", d1, d2) -
DateDiff ("ww", d1, d2, crSaturday) -
DateDiff ("ww", d1, d2, crSunday))*10
Any geeks out there up for the challenge???
I'm so close to a solution.....HELP!
Sandy
Local DateTimeVar d1 := {CallLog.RecvdDate};
Local DateTimeVar d2 := {CallLog.Closeddate};
cdbl(DateDiff ("d", d1, d2) -
DateDiff ("ww", d1, d2, crSaturday) -
DateDiff ("ww", d1, d2, crSunday))*10
Any geeks out there up for the challenge???
I'm so close to a solution.....HELP!
Sandy