Skip to main content
Module

x/date_fns/index.js>startOfMinute

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

Examples

// The start of a minute for 1 December 2014 22:15:45.400: var result = startOfMinute(new Date(2014, 11, 1, 22, 15, 45, 400)) //=> Mon Dec 01 2014 22:15:00

Parameters

dirtyDate
  • the original date