now.js
 1  var root = require('./_root');
 2  
 3  /**
 4   * Gets the timestamp of the number of milliseconds that have elapsed since
 5   * the Unix epoch (1 January 1970 00:00:00 UTC).
 6   *
 7   * @static
 8   * @memberOf _
 9   * @since 2.4.0
10   * @category Date
11   * @returns {number} Returns the timestamp.
12   * @example
13   *
14   * _.defer(function(stamp) {
15   *   console.log(_.now() - stamp);
16   * }, _.now());
17   * // => Logs the number of milliseconds it took for the deferred invocation.
18   */
19  var now = function() {
20    return root.Date.now();
21  };
22  
23  module.exports = now;