Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

minutesToMilliseconds

import { minutesToMilliseconds } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
@example
// Convert 2 minutes to milliseconds
const result = minutesToMilliseconds(2)
//=> 120000
function minutesToMilliseconds(minutes: number): number;
§
minutesToMilliseconds(minutes: number): number
[src]

§Parameters

§
minutes: number
[src]
  • The number of minutes to be converted

§Return Type

§
number
[src]

The number of minutes converted in milliseconds