I am loving Bases so far, and I have mostly been able to replace my (few, sparing) uses of DataView with it.
One thing I like to do is have a Weekly Note and have links to all the Daily Notes from that week. This is fairly easy to achieve with:
```dataview
LIST ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"][file.day.weekday - 1]
FROM "Daily Notes"
WHERE file.day.weekyear = this.week AND file.day.year = this.year
SORT file.day
```
Likewise, I have a DataView query in each Daily Note that creates a link back to the respective Weekly Note.
Proposed solution
These would be easy to do in Bases if Date objects had a week() method to access the ISO week number.
Current workaround (optional)
I guess you’d have to do some arithmetic yourself based on the difference in days, but that would require manually adding the date of the first day of the week to the properties of the weekly note, which would be tedious.
Related feature requests (optional)
Adate.weekday() method would probably also be useful to many people, though I don’t know if anyone has already requested that.
As a workaround (?), you could try to format a date using format() (which uses MomentJS tokens) .
You’ll get a string as a result though but you could coerce it into a number if/when needed…
E.g.: Using the file.ctime of notes created today (2025-08-19) and formatting it as "WW" (for the ISO Week number), I get 34
This is off-topic when it comes to the feature request ( ) but you can use an Advanced filter (by clicking on the </> icon next to the trash can, in the filter GUI), stating something like:
now() - file.ctime <= '12h'
For the “Time” column, you could use, as a formula: