Timestamp to end of day timestamp||doc136021

September 20, 2022

Format

 Lib.getDayEndTime(time) 
  • The class to which the function belongs:Lib

Description

Get the timestamp corresponding to the end timestamp of the current day.


Parameters

Variable name type Description
time int Timestamp, which can be obtained by os.time()


Value Returned

type Description
int end timestamp


Code Samples

local dayhEnd = Lib.getDayEndTime(os.time())