Skip to content

Instantly share code, notes, and snippets.

@gd03champ
Forked from dannberg/obsidian-daily-note-template.txt
Last active May 1, 2024 12:56
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gd03champ/6c8fe7739161c731859298b1bc96cfa0 to your computer and use it in GitHub Desktop.
Save gd03champ/6c8fe7739161c731859298b1bc96cfa0 to your computer and use it in GitHub Desktop.
Dann Berg's Daily Note Template for Obsidian. Uses Dataview & Templater plugins. Should be saved as a Markdown file in Obsidian. Read the full tour: https://dannb.org/blog/2022/obsidian-daily-note-template/
---
created:
- <% tp.file.creation_date() %>
tags:
- DailyNote
---
# <% moment(tp.file.title,'DD-dddd').format("dddd, MMMM DD, YYYY") %>
<< [[Purpose/Routine/Daily/<%fileDate = moment(tp.file.title, 'DD-dddd').subtract(1, 'd').format('YYYY/MM-MMMM') %>/<%fileDate = moment(tp.file.title, 'DD-dddd').subtract(1, 'd').format('DD-dddd') %>|Yesterday]] | [[Purpose/Routine/Daily/<% fileDate = moment(tp.file.title, 'DD-dddd').add(1, 'd').format('YYYY/MM-MMMM') %>/<% fileDate = moment(tp.file.title, 'DD-dddd').add(1, 'd').format('DD-dddd') %>|Tomorrow]] >>
---
### πŸ“… Daily Questions
##### 🌜 Last night, after work, I...
-
##### πŸ™Œ One thing I'm excited about right now is...
-
##### πŸš€ One+ thing I plan to accomplish today is...
- [ ]
##### πŸ‘Ž One thing I'm struggling with today is...
-
---
# πŸ“ Notes
- <% tp.file.cursor() %>
---
### Notes created today
```dataview
List FROM "" WHERE file.cday = date("<% moment(tp.file.title,'DD-dddd').format("YYYY-MM-DD") %>") SORT file.ctime asc
```
### Notes last touched today
```dataview
List FROM "" WHERE file.mday = date("<% moment(tp.file.title,'DD-dddd').format("YYYY-MM-DD") %>") SORT file.mtime asc
```
@ns-dhaliwal
Copy link

Thank you for sharing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment