DateTime difference in minutes

mr.burnsmr.burns Member Posts: 39
Hi all,

I have two DateTime variables and now I want to get the difference in minutes, and have to check if it is e.g. bigger that 10 minutes.

if I use message(format(dt2) - format(dt1)) it shows:

22 Minutes 34 seconds 884 milliseconds

But this value I cannot compare against 10 minutes, because it is text.

How can I get just 22 as integer result?

Thanks!

Comments

Sign In or Register to comment.