参考:

生年月日から年齢を計算する簡単な計算式
https://tech.nikkeibp.co.jp/it/article/Watcher/20070822/280097/?L=ml

生年月日,誕生日,年齢

function(関数):
Sample input(入力例):
Sample output(出力例):
formula(式):

Let([
~D=GetAsDate ( birthday )
;~BD=(Year ( ~D )*10000) + (Month ( ~D )*100)+Day ( ~D )
;~D=Get ( 日付 )
;~TD=(Year ( ~D )*10000) + (Month ( ~D )*100)+Day ( ~D )
];
Int ((~TD - ~BD)/10000)
)