The following dataview shows notes created 1 day before & after this note was created.

Calendar Time Windows ±1 and ±3 Days

± 1 days 20

All notes created 1 day before & after this note was created. Limit

TABLE WITHOUT ID
file.link as Note,
dateformat(created, "yyyy-MM-dd") as "Date Created"
 
FROM ""
 
WHERE date(this.file.ctime) - file.ctime <= dur(1 days)
 
SORT file.ctime asc
 
LIMIT 20