holroy
728
A variant of your script which would eliminate the double calculation of the days, and avoid the negative multiplication would be:
```dataview
LIST nextbday + " (in " + dayCount + " Tagen)"
FROM "ARBEIT/PERSONEN"
FLATTEN round(dur(nextbday - date("today")).day) as dayCount
WHERE dayCount <= 30
SORT nextbday ASC
```
Update: For a different approach regarding next birthday, see
1 Like