J
Jane Schuster
I need to determine the difference in hours between two events.
DateDiff("d" [CollectDate],[DueDate]) gives me the difference in days and
DateDiff("h",format(CollectDate,"hh:mm"),format(DueDate,"hh:mm")) gives me
the difference in hours, but I need to know the total hours between the two
entries.
For example: CollectDate/Time DueDate/Time DifferenceInHours
1/1/08 12:00 AM 1/3/08 12:00 AM 48 Hours (or
whatever it is)
Does anyone know the formula for returning just the hours portion of the
difference, or, in the alternative, how to convert what I have above to just
hours. Any help would be greatly appreciated.
DateDiff("d" [CollectDate],[DueDate]) gives me the difference in days and
DateDiff("h",format(CollectDate,"hh:mm"),format(DueDate,"hh:mm")) gives me
the difference in hours, but I need to know the total hours between the two
entries.
For example: CollectDate/Time DueDate/Time DifferenceInHours
1/1/08 12:00 AM 1/3/08 12:00 AM 48 Hours (or
whatever it is)
Does anyone know the formula for returning just the hours portion of the
difference, or, in the alternative, how to convert what I have above to just
hours. Any help would be greatly appreciated.