How can I get a timestamp in JavaScript?
Something similar to Unix timestamp, that is, a single number that represents the current time and date. Either as a number
For lodash and underscore users, use _.now.
_.now
var timestamp = _.now(); // in milliseconds