Hi, I use the following format for my daily notes ddd MMM DD YYYY
ie. Sun Mar 09 2025
I’m trying to get all notes created and changed for the day just like this post but for some reason date(this.file.name)
doesn’t seem to work with this format.
table without id
file.link as Note, file.mtime as Modified
where file.cday = date(this.file.name) AND file.mday = date(this.file.name)
sort file.mtime DESC
limit 15
I also have properties that look like these:
updated_at: 2025-03-09 07:57
created_at: 2025-03-09 06:00
which I also tried to use in the same way to no avail.
Any idea why this doesn’t work? These formats seems to work with normal javascript Date()
objects and with Momentjs which I think Dataview uses for its dates?
In the best scenario, I would be able to use the title of the note and convert it to a date in order to use it with dataview. Any suggestion?
Thanks!