Hello guys,
On Wixcode, the “new Date()” javascript seems to retrieve the user’s device time, not the real-time UTC time. I’m building an attendance webApp and I tested for fool-proof but it doesn’t work.
here’s an example; i changed my device time, and the wixcode retrieved the “faked“ time.
this means if an employee is late, the employee can change his/her phone time first then do the attendance so that it seems like the person isn’t late.
Unlike the wix job scheduler tool, it directly converts UTC to the website timezone which is perfect!
I tried using REST API on backend but many of the free ones are http (not secured) which wix refuses to work with.
Do you have a suggestion for my situation?
Thanks in advance