Rocky_Mountain_Vending/.pnpm-store/v10/files/35/68faff2b03d668b284dddf5e66c874becb839442a1d5c7899e4bdd03b78a7f06ebc019c7aefe6ee39584131d033d3d2a231c47b501efc6962387119d3a8d6d
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

27 lines
694 B
Text

import type { ContextOptions, DateArg } from "./types.js";
/**
* The {@link getDay} function options.
*/
export interface GetDayOptions extends ContextOptions<Date> {}
/**
* @name getDay
* @category Weekday Helpers
* @summary Get the day of the week of the given date.
*
* @description
* Get the day of the week of the given date.
*
* @param date - The given date
* @param options - The options
*
* @returns The day of week, 0 represents Sunday
*
* @example
* // Which day of the week is 29 February 2012?
* const result = getDay(new Date(2012, 1, 29))
* //=> 3
*/
export declare function getDay(
date: DateArg<Date> & {},
options?: GetDayOptions | undefined,
): number;