I've seen that with some games when someone is queuing for the matchmaking, it shows a timer that is up to date at the second. For internal use in a server, I want to make something similar with a bot where it would show the current time in 4 specific timezones. How would one go about a task like this? Obviously, one way would be with a
setInterval
setInterval
running every second but I'm wondering if there's a better way