When {apc_correlated.sched_time} > {apc_correlated.close_date_time} I should get an "Early" value but I do not.
Can someone explain why DateDiff does not give me values less than 0?
If DateDiff ("s", {apc_correlated.sched_time},{apc_correlated.close_date_time} ) < 0 then "Early" else
If DateDiff ("s", {apc_correlated.sched_time},{apc_correlated.close_date_time} ) > 360 then "Late" else "OnTime
Can someone explain why DateDiff does not give me values less than 0?
If DateDiff ("s", {apc_correlated.sched_time},{apc_correlated.close_date_time} ) < 0 then "Early" else
If DateDiff ("s", {apc_correlated.sched_time},{apc_correlated.close_date_time} ) > 360 then "Late" else "OnTime