Forum Discussion
- MCFNeilQrew CaptainMake a formula duration field and use the following:
var number Age=(Year(Today())-Year([DOB])-1)
+If(Month(Today())>Month([DOB]),1,0)
+If(Month(Today())=Month([DOB]) and Day(Today())>=Day([DOB]),1,0);
var date Birthday=AdjustYear([DOB], $Age+1);
$Birthday-Today()
You are basically finding the age, finding the next birthday, and then finding the difference (duration) between the birthday and today.
(Yes I'm getting old)