Skip to content

time

luau
local time = require("@std/time")

time.now

Returns the current point in time as an Instant.

luau
() -> Instant

time.since

Returns the number of seconds elapsed since instant.

luau
(instant: Instant) -> number