Creating a list of the notes created on the same day as my daily note (with dataview)

I know this question is asked many many times here, but in my case it still doesn’t work.
I will list the functions i tried below.

          ```dataview
        list from ""
        WHERE file.cday = date(this.file.name) AND file.name !=(this.file.name)
        ```
        This shows in my template that there are no results and in my daily note it shows the error * invalid reference date format, try specifiying one with the argument 'reference_format'*
list from ""
where date(file.ctime) = date(this.file.name)
here I have the same outcome as the one above.

```dataview
list from ""
where file.name = date(file.ctime, "YYYY-MM-DD")

```dataview
list
from ""
where date(file.ctime) = date(today)
List FROM "" WHERE file.cday = date("<%tp.date.now("YYYY-MM-DD")%>") SORT file.ctime asc

Can someone tell me what i am doing wrong?

image

I use this in my daily note. It uses a callout which you don’t have to use and also excludes my Journal folder since it’s obvious that the daily note is created.:

[!example] Notes Created Today

Table dateformat(file.ctime, "yyyy-MM-dd HH:mm") AS "Created"
FROM "" AND -"Journal"
WHERE file.ctime.day = this.file.day.day
AND file.ctime.month = this.file.day.month
AND file.ctime.year = this.file.day.year
SORT file.ctime desc
1 Like

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