MCPcopy Create free account
hub / github.com/apitable/apitable / getToday

Function getToday

packages/core/src/utils/date_time.ts:19–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 */
18
19export function getToday() {
20 const today = new Date();
21 return getDay(today);
22}
23
24export function getDay(day: Date, dayOffset?: number) {
25 if (dayOffset != null) {

Callers 3

getInputValueMethod · 0.90
DatePickerMobileBaseFunction · 0.90

Calls 1

getDayFunction · 0.85

Tested by

no test coverage detected