Skip to main content

diffDatesByDay

Difference between two dates in days.

Usage

import { diffDatesByDay } from "lulinjs";

const result = diffDatesByDay(1673493926000, 1673017526000);
// Output: 5
Live Editor
Result
Loading...