Time

Time is not creatable, there's only one instance of it. It can only be accessed through its globally exposed variable.

Time contains time utility functions.

Functions

Returns elapsed seconds since January 1, 1970 UTC.

Client.Action2 = function()
  print("time:", Time.Unix(), "s")
end

Returns elapsed milliseconds since January 1, 1970 UTC.

Client.Action2 = function()
  print("time:", Time.UnixMilli(), "ms")
end