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:

Parameter Type Description
date typeof moment The moment date to get the daily note for.

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