How to get calc result of dataview inline in days

Hey there,

https://blacksmithgu.github.io/obsidian-dataview/annotation/types-of-metadata/

how can i get this inline query as a result in days?

thats my result but i would like to have it only in days

=round(dur(date("2024-06-06") - this.file.ctime).days)+ " days"

This one liner gives me the result 123 days, and hopefully shows you a few tricks for manipulating time in DQL

3 Likes

nice love it thanks!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.