The goal is to detect offsets between the UTC time in the client and the UTC time in the server. It is not required to change the device time, just to know the offset in the client to have a synced time with the server. The server is an NET core API.
Read more here: https://stackoverflow.com/questions/66339760/how-to-sync-time-between-js-client-and-net-server
This content was originally published by user33276346 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.