There is RTC, but it doesn’t have backup battery so you’d have to reset it after power-on, just like you guessed.
The get_time() function (which gives millisecond timestamps since power-on) should be accurate.
There is RTC, but it doesn’t have backup battery so you’d have to reset it after power-on, just like you guessed.
The get_time() function (which gives millisecond timestamps since power-on) should be accurate.