Check if Personal $1.00 / 1,000 calls

Age between

What this tool does

This tool checks whether a person's age, based on their birth date, falls within a specific range you define. You provide a date of birth and two numbers representing the lower and upper limits of the age range.

Common uses

  • Checking if a user meets an age requirement for a service or product.
  • Verifying if a customer falls within a target demographic age group.
    • Good to know
      • The calculation is based on the current date when the check is run.
      • If the birth date is invalid or missing, the tool will indicate the check failed.

Input data

Parameter Required Example Description
date Yes 1975-05-20 Enter the person's birth date in year-month-day format, for example '1975-05-20'. This is required.
years1 Yes 35 Enter the lower age limit as a number, for example '35'. This is required.
years2 Yes 50 Enter the upper age limit as a number, for example '50'. This is required.

Output data

Field Description
result Returns a yes/no indicator showing whether the person's age falls between the two specified numbers. For example, if the person is 40 and the range is 35 to 50, this returns true (yes); otherwise, it returns false (no).