Skip to main content
Module

x/date_fns/index.js>endOfSecond

date-fns Deno package
Go to Latest
function endOfSecond
import { endOfSecond } from "https://deno.land/x/date_fns@v2.8.1/index.js";

Examples

// The end of a second for 1 December 2014 22:15:45.400: var result = endOfSecond(new Date(2014, 11, 1, 22, 15, 45, 400)) //=> Mon Dec 01 2014 22:15:45.999

Parameters

dirtyDate
  • the original date