Date Formatting - Daily Notes Pages

This post was last updated for 376 days ago, and the information may already be changed

Hi all, I recently asked in the Discord how I would go about crating daily notes in a specific format.

D very helpfully assisted so I thought to post here for ease of refernce and in case any one else needs it:

  1. Right-click on the notebook -> Settings -> New daily note -> Save path option.
  2. Replace the text in the save path option with something like the below, if you want YYYY-MM-DD DDDD format
  3. /daily note/{{now | date "2006/01"}}/{{now | date "2006-01-02 Monday"}} - This gives me my notes in the following fomat:

image.png

For other options see below. Golang date formatting https://pkg.go.dev/time#pkg-constants

Image

Thanks all.

    1 Operate
    ednico updated this article at 2023-07-16 19:46:54

    Related articles

    Welcome to here!

    Here we can learn from each other how to use SiYuan, give feedback and suggestions, and build SiYuan together.

    Signup About
    Please input reply content ...