How do I display SERVER time using or os.time?

Hey FP,
So for my gamemode, I have a clock in the corner. I want it to display the SERVER’s time, not the players.
As of now, using"%c") or"%I:%M %p") gives player time, (my time, local time etc).

Is there a way to get the server’s system time, and print it on my screen?


use a usermessage to synchonize a clock every once and a while

Or simply send the UNIX timestamp upon connecting to the player and save the difference between it and the local time.