I have 2 fields that I need to show the difference in minutes.
{pat_out_of_room} and {proc_end}
When I do ({pat_out_of_room}-{proc_end}) the difference is displayed correctly most of the time.
Ex: proc end = 1002 Out of Room=1008 time displays 6
However if the time fields are different hours time is off
Ex proc end = 1258, Out of Room = 1309 time displays 51
I know there is an easy answer to this but I am having trouble remembering it. Any suggestions?
I am using Crystal 10
Thanks, Mary
{pat_out_of_room} and {proc_end}
When I do ({pat_out_of_room}-{proc_end}) the difference is displayed correctly most of the time.
Ex: proc end = 1002 Out of Room=1008 time displays 6
However if the time fields are different hours time is off
Ex proc end = 1258, Out of Room = 1309 time displays 51
I know there is an easy answer to this but I am having trouble remembering it. Any suggestions?
I am using Crystal 10
Thanks, Mary