Hello, i’m making a game like Rise Of Nations, and i like to get countries real time, i’ve been tryed os.time() - (3*3600) but sometimes roblox server changes the location and brokes the code. Someone can help me?
I actually answered a similar (follow-up) question earlier today! check this out!
but, can i get unix time from LocalTime?
Yeah but unix time isn’t UTC-0, do you want a constant timezone to reference and subtract from or the unix timestamp via :UnixTimestamp() which is just how many seconds since 1970?
Check through this docs page on DateTime, I think you will want timezones
I found something, i join in a European server and used os.time(), os.time() returns me the USA unix time, i think that i solved it!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.