Hello Everyone ,
Do any of you have example code or an algorithm to calculate difference between two times?
For example if the time is 23:59 yesterday and the present time is 00:01 today,then the time difference is 2 minutes.
I have access to the date and time via RTC if that helps.
Thanks in advance,
Arun
Do any of you have example code or an algorithm to calculate difference between two times?
For example if the time is 23:59 yesterday and the present time is 00:01 today,then the time difference is 2 minutes.
I have access to the date and time via RTC if that helps.
Thanks in advance,
Arun