current position:Home>How to solve the problem that the time caused by VPN is not the same as the system time?

How to solve the problem that the time caused by VPN is not the same as the system time?

2022-02-02 21:12:25 CSDN Q & A

The phenomenon and background of the problem

If I develop a app, Then the user turns it on with his mobile phone vpn, Connecting the U.S , Then I app The time of acquisition caused by operation on is wrong

How to use this situation java What about processing? ?




Refer to the answer 1:

The general way is , Write an interface to get the server time , Unable to get the time of this machine .




Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202022112237098.html

Random recommended