MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / getTodayLocal

Function getTodayLocal

src/utils/dateUtils.ts:393–396  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

391 * This represents "today" from the user's perspective.
392 */
393export function getTodayLocal(): Date {
394 const now = new Date();
395 return new Date(now.getFullYear(), now.getMonth(), now.getDate());
396}
397
398/**
399 * Parse a date string into a Date object that represents the calendar day

Callers 15

createRecurringCalendarFunction · 0.90
updateTodayStatsMethod · 0.90
updateWeekStatsMethod · 0.90
updateMonthStatsMethod · 0.90
getFilterDateRangeMethod · 0.90
calculateProjectTrendMethod · 0.90
refreshStatsMethod · 0.90
handleTaskFileRenamedMethod · 0.90
loadStateMethod · 0.90

Calls 1

getDateMethod · 0.65

Tested by 1

determineCompletionDateFunction · 0.72