Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

luatz.gettime {#gettime}

A module to get the current time.

Uses the most precise method available (in order:)

source {#gettime.source}

The library/function currently in use by gettime().

resolution {#gettime.resolution}

The smallest time resolution (in seconds) available from gettime().

gettime() {#gettime.gettime}

Returns the number of seconds since unix epoch (1970-01-01T00:00:00Z) as a lua number