Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 252 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 252 Bytes

Date.now

Uses Date.now when available and falls back to new Date().getTime() when needed to get the number of milliseconds elapsed since 1 Jan 1970 00:00:00 UTC.

Usage

var date = require('date.now');

var now = date.now();