This is a difficult question. mc-OS keeps the time in cycles (62.5 nanoSec) and from there it is calculated in microSec, milliSec and Seconds. The issue is that we don't support the Long datatype yet. Even in millisecond the timer overflows every 24 days. (In microSeconds it is only 35 Minutes.)
There are a number of options that can solve this.
- Return only the low 31 bits and let the developer compare them
- Build a quick and dirty Long type
- Wait until we have the Long type in the product
I understand the importance of the functionality so I will discuss it with the team.
-John-