So for example I want every single server to be the same time as the united states how would i script that is there like a region variable or something?
COMMUNITY QUESTION
how do I make every servers time the same using a time from a real life region like asia?
1 answer
You can use os.time to calculate time in different places.
os.time returns the seconds elapsed since UNIX epoch and returns it in utc time, aka greenwich mean time (GMT)
For example:
Japan's timezone is at utc +9, therefore Japan's time is 9 hours more than the time in utc.
print( os.time() + (9*3600) )
1 comment
0
You would still need to know the timezone the client is in
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
there is a way