Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Very Popular
Go to Latest
function default
import { default } from "https://deno.land/x/date_fns@v2.6.0/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