Hi, can someone direct me on how I can make a textlabel display a timer count down till the next hour.
For example, if the time is 1:03PM, the text should display “57 Minutes” till the next hour (2:00pm)
Hi, can someone direct me on how I can make a textlabel display a timer count down till the next hour.
For example, if the time is 1:03PM, the text should display “57 Minutes” till the next hour (2:00pm)
A piece of code like this can get you the minutes remaining.
local now = DateTime.now()
local minutesNow = now:ToUniversalTime().Minute
local minutesUntilNextHour = 60 - minutesNow