Real Time (specific timezone)

Hello everyone,

I’m looking for advice on scripting a Real Time script - that will sync the time of my ROBLOX game with only the UK timezone (rather than the players local time zone). I’ve seen some out there that have good potential, such as DoomedPerson’s ‘Current TimeOfDay’ script - however it doesn’t appear to allow me to set one specific timezone - and instead it goes off the players local time. (I may be wrong)

I would greatly appreciate any advice you all have,

Thanks in Advance,

Jake

7 Likes

You can use os.date(“!*t”, os.time()) to get information about the current time in UTC. See the os.date section here for more info:

16 Likes

Hadn’t come across that, thank you for your help :+1:t2: Greatly appreciated.

DateTime is probably what you want, other stuffs like os.time or tick or time, they are restricted from DateTime so DateTime is the best! :slightly_smiling_face:

1 Like