Determine whether the activity is within the valid time, and is it safer to get the server time than the local time?

for an activity, the API returns the start time and end time of the activity. The frontend needs to determine whether the current time is within the valid activity time range, and whether it is safe to obtain the current server time to prevent users from modifying the time locally.

Mar.30,2021

Yes, the server time is fixed
the time taken by the front end is the time on the client computer. Users can change the system time at will


of course take the server time. Isn't it BUG? for users to modify local time with local time?


this itself should be a standard time (server time).

Menu