I’m trying to compile a table of everyone’s birthday and sort by soonest birthday. This would display time until their birthday and put the soonest birthday first
Unfortunately in it’s current state all I’ve been able to make is increasingly more wacky ways of finding one’s age
I’ve tried quite a bit tbqh, it’s honestly simpler to post my failed code and the numerous attempts lying within, it fails because it still takes year into account when making durations
TABLE WITHOUT ID
join(slice(split(string(date(today)-date(Birthday)),", "),1,5)),
durationformat(date(today)-date(Birthday), "d"),
number(durationformat((date(today)-date(Birthday)), "d"))/365,
string(date(today)-date(Birthday)),
date(Birthday),
link(file.name,split(file.name," ",1)) AS Person
FROM "folder" AND #tag
WHERE Birthday
SORT date(today)-date(Birthday) DESC
The codeblock serves more as my general thought process more than anything else.