Rocky_Mountain_Vending/.pnpm-store/v10/files/58/10e183095e15139cb9ea1442f7d98acbf8dc6db2d7157ec56aa5308fb9c9b06c4e9e2fca695afbcc6fe92ddb190406f1b3fb942f5fd0408844b5262f782f4c
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

29 lines
633 B
Text

"use strict";
exports.getDay = getDay;
var _index = require("./toDate.cjs");
/**
* The {@link getDay} function options.
*/
/**
* @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
*/
function getDay(date, options) {
return (0, _index.toDate)(date, options?.in).getDay();
}