As an educational/explanatory website, this program uses the ping by asking the server what time it is to calculate the differences in clocks with an accuracy of milliseconds. It is not about the time zone but the milliseconds in the device's clock.
The front end is built with React, and the back end is built with Express and Socket.io. Multiple users can connect at the same time and compare each of their clocks with other devices.