Would DateDiff work?
ie DateDiff("h",StartDate,EndDate) would return the total no of hours between the two date variables (which as you know can contain a date, a time or a date and a time)
The "h", means hours, you could also have, "n" for minutes, "s" for seconds, "ww" for weeks etc.
doh:)...