os

Show Deprecated

This library currently serves the purpose of providing information about the system time under the UTC format. It has been heavily sandboxed from the standard Lua os library and does not allow you to perform any system-altering operations.

Summary

Functions

time(time: table): number  

difftime(t2: number, t1: number): number  

date(formatString: string, time: number): table  

clock(): number  

Functions

time

Parameters

time: table
Default Value: UTC time

Returns

difftime

Parameters

t2: number
t1: number

Returns

date

Parameters

formatString: string
time: number

Returns

clock

Returns