# now > Time in seconds since the epoch.
## Usage ```javascript var now = require( '@stdlib/time/now' ); ``` #### now() Returns the time in **seconds** since the epoch. ```javascript var ts = now(); // returns ```
## Notes - The [Unix epoch][unix-time] is 00:00:00 UTC on 1 January 1970.
## Examples ```javascript var now = require( '@stdlib/time/now' ); var t0 = now(); setTimeout( onTimeout, 2000 ); function onTimeout() { var t1 = now(); console.log( 'Seconds elapsed: %d', t1-t0 ); } ```
* * *
## CLI
### Usage ```text Usage: now [options] Options: -h, --help Print this message. -V, --version Print the package version. ```
### Examples ```bash $ now ```