Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function default
import { default } from "https://deno.land/x/date_fns@v2.0.0-beta.4/isThisSecond/index.js";

Examples

// If now is 25 September 2014 18:30:15.500, // is 25 September 2014 18:30:15.000 in this second? var result = isThisSecond(new Date(2014, 8, 25, 18, 30, 15)) //=> true

Parameters

dirtyDate
  • the date to check