Skip to content

DailyNotesPluginInstance.getDailyNote method

DailyNotesPluginInstance › getDailyNote

Unofficial

Get or create the daily note for the given date.

Signature:

getDailyNote(date: typeof moment): Promise<null | TFile | undefined>

Parameters:

ParameterTypeDescription
datetypeof momentThe moment date to get the daily note for.

Returns: Promise<null | TFile | undefined>The daily note file, or null/undefined.