UNPKG

nowsecs

Version:

Adds Date.nowSecs() to get current time in seconds

16 lines (10 loc) 270 B
# nowsecs # Adds `Date.nowSecs` which returns the current time in seconds. It also polyfills `Date.now`. ## Usage ## ``` require('nowsecs'); ``` ``` <script type="text/javascript" src="nowsecs.min.js"></script> ``` By [James Hartig](https://github.com/fastest963/)