Search
Preparing search index...
The search index is not available
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"time/now/docs/types/index.d"
External module "time/now/docs/types/index.d"
Index
Functions
now
Functions
Export assignment
now
now
(
)
:
number
Returns the time in seconds since the epoch.
Notes
The Unix epoch is 00:00:00 UTC on 1 January 1970.
Returns
number
time
Example
var
ts = now();
// returns <number>
Packages
"time/now/docs/types/index.d"
now
Returns the time in seconds since the epoch.
Notes