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

Function getTodayString

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

Source from the content-addressed store, hash-verified

383 * Get today in appropriate format for comparison
384 */
385export function getTodayString(): string {
386 return format(new Date(), "yyyy-MM-dd");
387}
388
389/**
390 * Get today's date as a Date object set to midnight local time.

Calls

no outgoing calls

Tested by 1

determineCompletionDateFunction · 0.72