MCPcopy
hub / github.com/date-fns/date-fns / getDay

Function getDay

pkgs/core/src/getDay/index.ts:27–32  ·  view source on GitHub ↗
(
  date: DateArg<Date> & {},
  options?: GetDayOptions | undefined,
)

Source from the content-addressed store, hash-verified

25 * //=> 3
26 */
27export function getDay(
28 date: DateArg<Date> & {},
29 options?: GetDayOptions | undefined,
30): number {
31 return toDate(date, options?.in).getDay();
32}

Callers 5

nextDayFunction · 0.90
previousDayFunction · 0.90
test.tsFile · 0.90
_testFunction · 0.90
getWeekOfMonthFunction · 0.90

Calls 1

toDateFunction · 0.90

Tested by

no test coverage detected