Forum Discussion
QuickBaseCoachD
9 years agoQrew Captain
Try this are a formula text field
var date DOB = [DOB]; // put your date of birth field here
var number AGE =
Year(Today())-Year($DOB)
-
If(
Month(Today())<Month($DOB)
or
(Month(Today())=Month($DOB) and Day(Today())<Day($DOB)),1,0);
IF(
isNull($DOB), " Missing D.O.B.",
$AGE <= 11, " 0-11",
$AGE <= 15, "12-15,
etc
$AGE >=55, "55+")
var date DOB = [DOB]; // put your date of birth field here
var number AGE =
Year(Today())-Year($DOB)
-
If(
Month(Today())<Month($DOB)
or
(Month(Today())=Month($DOB) and Day(Today())<Day($DOB)),1,0);
IF(
isNull($DOB), " Missing D.O.B.",
$AGE <= 11, " 0-11",
$AGE <= 15, "12-15,
etc
$AGE >=55, "55+")