I'm making a game and trying to make it as realistic as the UK is. The problem is, how do I make a day / night cycle that is synced with the BST Time Zone? I have a GMT One, but I don't know how to make it BST.
Use os.date()
and pass os.time()
, offset by the correct amount of seconds as its second argument.
Just set it to your current time.