this post was submitted on 21 Jul 2023
9 points (100.0% liked)

ObsidianMD

4102 readers
2 users here now

Unofficial Lemmy community for https://obsidian.md/

founded 1 year ago
MODERATORS
 

Hi! I wish to create a dataview query formy deadlines that will inform me some days in advance (7, 15 or 30 days by example). At the moment I have in my daily note a query that show me the today's deadlines using: WHERE deadline = this.file.name How can I get a reminder in advance? Thanks for any help

you are viewing a single comment's thread
view the rest of the comments
[โ€“] foliathr@infosec.pub 1 points 1 year ago (1 children)

Will this help? Duration seems to work with operators.

https://blacksmithgu.github.io/obsidian-dataview/annotation/types-of-metadata/#:~:text=dateformat%20function.-,Duration,-Durations%20are%20text

I'm on mobile right now so I can't try it out but I'm curious if this will work in your case!

[โ€“] ilbradipo@feddit.it 2 points 1 year ago

Thanks to a nice person in the Obsidian's forum, I've got the solution: https://forum.obsidian.md/t/reminder-for-deadlines-using-dataview/63707/3