The following dataview shows notes created 1 day before & after this note was created.
Calendar Time Windows ±1 and ±3 Days
± 1 days
20All 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± 3 days
30All notes created 3 days 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(3 days) SORT file.ctime asc LIMIT 30