Hi folks,
Something very strange is happening with it:
We use to call it at the beginning of every block during a data entry program, and sometimes, we do not know why, the call returns a time which is much lesser than the previous one, with maybe two hours difference. We are passing "HHMMSS" as parameter.
Have you ever heard about that before?
Do you have any idea why this can happen? It is very rare, and most of the time (99.99%) it does the job and it works well.
Best
Ari
systime function
-
- Posts: 222
- Joined: November 21st, 2022, 4:41 pm
Re: systime function
Hello,
We have not seen any issues like this before. Are you using Android or Windows? Are your tests taking place near a time zone border, with devices set to differing times, or some other potential device problems? Using timestamp may help with timezone issues as it uses UTC time. The systime function calls https://learn.microsoft.com/en-us/cpp/c ... w=msvc-170, which uses device time.
Thank you,
Justin
We have not seen any issues like this before. Are you using Android or Windows? Are your tests taking place near a time zone border, with devices set to differing times, or some other potential device problems? Using timestamp may help with timezone issues as it uses UTC time. The systime function calls https://learn.microsoft.com/en-us/cpp/c ... w=msvc-170, which uses device time.
Thank you,
Justin