Comparing times

Hi,
is there any simple way to compare times? To determine that something happend earlier or if earlier than, etc.

Convert the two Instants to Milliseconds, which count the number of milliseconds in that Instant from the start of the year 1970.

You would be doing a simple numeric comparison.

Any samle, please?

You can find the necessary methods in the Clock component, Sensor drawer

Taifun

math_compare

Are you kidding me?
A sample of time hh:mm:ss conversion into digit (milliseconds).

This way

Thanks. But how to convert a global variable with saved time hh:mm:ss. Let's say there are two globals, one 15:10:45 and the other 14:55:51. How to determine what happend earlier?

or