1. 翌日の0:00までのカウントダウンを取得
備考: 必要に応じて変換できる秒を返します。
-- 获取到第二日0点的剩余时间 返回秒数
local function GetRemainSecondsTo24()
local time = os.date("*t")
local targetTime = os.time({ year = time.year, month = time.month, day = time.day, hour = 23, min = 59, sec = 59 })
return targetTime - os.time() + 1
end