Timestamp turn current week end timestamp||doc136020

September 20, 2022

Format

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

Description

Get the end timestamp of the month corresponding to the timestamp.


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 monthEnd = Lib.getMonthEndTime(os.time())