Rocky_Mountain_Vending/.pnpm-store/v10/files/02/2de8a3824d588fb2fbc56a73dfc7b9cc15b1a50d2f51ff85c4869442ec9efe0692b3edc0a52a20d9cfc5cee17c2c4d2465d2974c994d1ea2a594cd4a37c3da
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

30 lines
647 B
Text

import { toDate } from "./toDate.js";
/**
* The {@link getMinutes} function options.
*/
/**
* @name getMinutes
* @category Minute Helpers
* @summary Get the minutes of the given date.
*
* @description
* Get the minutes of the given date.
*
* @param date - The given date
* @param options - The options
*
* @returns The minutes
*
* @example
* // Get the minutes of 29 February 2012 11:45:05:
* const result = getMinutes(new Date(2012, 1, 29, 11, 45, 5))
* //=> 45
*/
export function getMinutes(date, options) {
return toDate(date, options?.in).getMinutes();
}
// Fallback for modularized imports:
export default getMinutes;