How can I get the difference of two times ?

I need a way to get the difference in minutes of two times

A := '10:45'
B := '10:57'

C := A - B ???

If C > 15 (minutes) then

What is the right form to do this?

Thanks
LVL 1
hidrauAsked:
Who is Participating?
 
2266180Commented:
uses dateutils;

if minutesbetween(a, b)>15 then
0
 
hidrauAuthor Commented:
you are the man.
0
 
hidrauAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.