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).

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b439f5-2c68c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b439f5-2c68c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?