JSFiddle - React, Tailwind, and code Playground

by SHELDON PASCIAK

JavaScript

let d = new Date(2022,03,24,11,11,0);
let n = new Date();

let diff = n-d;

alert((((diff/1000)/60)/60)/24);