Ehh… I just realised that you’re using the wrong tokens to format your date with. ‘dateformat()’ uses the Luxon tokens, not the moment.js tokens you’ve used and which are used many other places. So try the following:
```dataview
TABLE file.day as Date, purpose as "Purpose"
FROM "Meeting"
WHERE contains(file.outlinks, [[John]])
WHERE dateformat(date(today), "yyyy") = dateformat(file.day, "yyyy")
SORT file.day DESC
```
Update: Made a typo and forgot the dateformat(
in front of the file.day...
part.