There might be a better or easier solution to this (this just came to my mind)
local test = os.time{year = os.date("%Y"), month = os.date("%m"), day = os.date("%d"), hour = 20, min = 30, sec = 0}
print(os.date("%X", test - os.time()))
this will print time remaining like "12:30:20".
If you...