Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/date_fns/index.js>isThisSecond

date-fns Deno package
Very Popular
Go to Latest
function isThisSecond
import { isThisSecond } from "https://deno.land/x/date_fns@v2.0.0-alpha.34/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