How do I display SERVER time using os.date or os.time?
2 replies, posted
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 os.date("%c") or os.date("%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?
Thanks,
Jay
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.
Sorry, you need to Log In to post a reply to this thread.