Lodash Date Methods

Beginner
4 min read
Updated: Nov 2026
1 method guide
Method index

About This Index

This page is the Lodash Date index for the tutorial track. Each row links to a full guide with syntax, examples, and FAQs.

Lodash 4.x keeps Date lean: use _.now() for a millisecond Unix timestamp. For formatting, parsing, or time zones, use native Date / Intl (or a dedicated date library).

Beginner path.

Open _.now(), compare it with Date.now(), then use it for IDs, logging, and createdAt-style values.

How to Call a Date Method

Import now or call it on _—no arguments needed:

Lodash
import _ from "lodash";
// or: import now from "lodash/now";

const stamp = _.now();
// e.g. 1730790000000

console.log(stamp === Date.now()); // usually true (same clock)

const createdAt = { id: "post_1", at: _.now() };

Lodash Date Methods Table

All date method guides in this Lodash tutorial series (1 tutorial).

Getting Started

1 method

Read the current Unix timestamp in milliseconds.

MethodDescriptionTutorial
_.now()Returns the number of milliseconds since the Unix epoch (same idea as Date.now()).Try it

Frequently Asked Questions

In Lodash 4.x the Date category is small: _.now() returns the current Unix time in milliseconds. Lodash does not include date parsers, formatters, or time-zone helpers.
Yes in practice. _.now() delegates to Date.now() and returns milliseconds since the Unix epoch (UTC). Use whichever reads clearer in your module.
For measuring short intervals in browsers, performance.now() is monotonic and higher resolution. _.now() is a wall-clock timestamp—better for createdAt-style values and logging.
Prefer import now from 'lodash/now' or import { now } from 'lodash-es' so your bundle only ships what you call.
Open the _.now() tutorial from the table below.

Start with _.now()

Open the timestamp guide—syntax, examples, and FAQs.

_.now() tutorial →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful