Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I make a day time cycle sync with BST Time Zone?

Asked by 6 years ago

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.

0
Anyone? CarlPlandog 20 — 6y

2 answers

Log in to vote
0
Answered by
Avigant 2374 Moderation Voter Community Moderator
6 years ago

Use os.date() and pass os.time(), offset by the correct amount of seconds as its second argument.

Ad
Log in to vote
0
Answered by 6 years ago

Just set it to your current time.

0
"Just set it to your current time" That's the question. CarlPlandog 20 — 6y

Answer this question