Difference between 2 Times

Hello All

I have 2 times

9:00 AM and 1:00 PM

How can I calculate the Times between. I am looking for the answer 4 (hours)

Help Appreciated

SIMS

Use the TimeBetween function with HourPeriod as your period parameter/

TimeBetween(first_date;last_date;period)