Gets the timestamp of the number of milliseconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC). Part of Lodash 4.x Date (since 2.4.0).
Use the syntax and examples below. Prefer performance.now() only when you need high-resolution browser benchmarks.
Syntax
Call _.now. Start with this line.
Lodash
_.now()
Call
What it does
_.now()
Primary signature.
_.now()
Takes no arguments.
Prefer import now from "lodash/now" when you want a smaller bundle.
Library declarations
Lodash
_.now()
Parameters
This method has no parameters.
Return Value
Return Value
Description
*
Number — ms since Unix epoch (UTC)
Lodash Examples
Example 1 — Current Timestamp
Read milliseconds since the Unix epoch.
Lodash
_.now();
// → 1730000000123 (example — your number will differ)
2026-10-05T06:30:00.123Z
(example — live ISO string from the current clock)
How It Works
Stamp._.now() returns a number.
Wrap.new Date(stamp) creates a Date for that instant.
Format. Use toISOString() or locale formatters for display.
Round-trip.d.getTime() returns the same millisecond value.
Compatibility
Browser & Runtime Support
_.now is a Lodash 4.x Date helper (since 2.4.0). It requires Date.now, available in all modern browsers and current Node LTS when Lodash is installed.
✓ Stable · Lodash 2.4.0+
_.now()
Available in [email protected] full builds and the lodash/now modular import. Works wherever Date.now works — evergreen browsers and Node / Bun / Deno with Lodash.
100%With Lodash 4.x
Google ChromeSupported · Desktop & Mobile
Full support
Mozilla FirefoxSupported · Desktop & Mobile
Full support
Apple SafariSupported · macOS & iOS
Full support
Microsoft EdgeSupported · Chromium
Full support
Internet ExplorerNo native support · Use a polyfill
Polyfill
OperaSupported · Modern versions
Full support
Samsung InternetSupported · Android
Full support
BunSupported · JavaScript runtime
Supported
DenoSupported · JavaScript runtime
Supported
Node.jsSupported · Server runtime
Supported
Android WebViewSupported · Modern WebView
Full support
_.nowLodash 4.x+
Bottom line: Safe for production once Lodash is on the page or in your bundle. Prefer import now from "lodash/now" for smaller builds. Equivalent to native Date.now() — use either consistently.
Frequently Asked Questions
_.now() returns the number of milliseconds elapsed since the Unix epoch (1 January 1970 00:00:00 UTC). It takes no arguments.
Yes. In Lodash 4.x, _.now is implemented as root.Date.now(), so the numeric result matches the native clock.
Use _.now() / Date.now() for wall-clock stamps (createdAt, logs). Prefer performance.now() for short browser benchmarks — it is monotonic and higher resolution.
No. Always call _.now() with an empty argument list.
Use import now from "lodash/now" or require("lodash/now") for tree-shaking. Full build: import _ from "lodash" then _.now().
Yes — anywhere Date.now exists (modern Node and browsers).