function timeForHour(hour)
local time = (string.split(hour, ":")[1] * 60 * 60) + (string.split(hour, ":")[2] * 60) + string.split(hour, ":")[3]
local current = (os.date("%H") * 60 * 60) + (os.date("%M")*60) + os.date("%S")
local diff = current < time and time - current or 86400 - (current - time)
local hr = math.floor((diff / 60) / 60)
local mi = math.floor(math.floor(diff - (hr * 60 * 60)) / 60)
local se = math.floor(diff - ((mi * 60) + (hr * 60 * 60)))
local format = hr .. ":" .. mi .. ":" .. se
return format
end