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

hoursToMinutes

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

§Parameters

§
hours: number
[src]
  • number of hours to be converted

§Return Type

§
number
[src]

The number of hours converted in minutes