Difference between revisions of "User:Kebap/Manual:getEpoch"

From Mudlet
Jump to navigation Jump to search
(Created page with ";getEpoch() :This function returns the seconds since [https://en.wikipedia.org/wiki/Unix_time Unix epoch] with milliseconds. ;Example <syntaxhighlight lang="lua"> getEpoch()...")
 
m
 
Line 1: Line 1:
 +
==getEpoch==
 
;getEpoch()
 
;getEpoch()
 
:This function returns the seconds since [https://en.wikipedia.org/wiki/Unix_time Unix epoch] with milliseconds.
 
:This function returns the seconds since [https://en.wikipedia.org/wiki/Unix_time Unix epoch] with milliseconds.

Latest revision as of 19:20, 5 June 2018

getEpoch

getEpoch()
This function returns the seconds since Unix epoch with milliseconds.
Example
getEpoch() -- will show e.g. 1523555867.191