Working on time based application, when reset the device and launch our application instant, we are getting wrong date and time instead of current date and time.
Code: Select all
date = CreateObject("roDateTime")
Output is "2019-01-09T02:59Z" instead of "2019-02-12T10:42Z", showing approximate 34 days previous static date every time.
But if we restart the device and launch the application after internet connection, then we are getting correct date and time.
Please suggest the solution for this problem.
Thanks in advance,