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

minutesToSeconds

import { minutesToSeconds } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
@example
// Convert 2 minutes to seconds
const result = minutesToSeconds(2)
//=> 120
function minutesToSeconds(minutes: number): number;
§
minutesToSeconds(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 seconds