Lib.getDate(time, data)
time: number
number
data(optional): object
object
unit: "s" - seconds or "m" - minutes or "h" - hours or "d" - days or "w" - weeks
"s"
"m"
"h"
"d"
"w"
count: number
Lib.getDate(os.time())
Lib.getDate(os.time(), { unit = "h", count = 6, })
return: object
date: string
string
Last updated 1 month ago