Check Personal $1.00 / 1,000 calls

Age between

What this tool does

This tool helps you check if a person falls within a specific age range based on their date of birth. It is useful for verifying eligibility for services, promotions, or legal requirements that depend on a user being at least a certain age or not exceeding a maximum age. It provides a simple yes or no answer to indicate whether the condition is met.

When to use it

  • Verifying that a user is old enough to create an account on your platform.
  • Checking if a customer qualifies for a senior discount based on their birth date.
  • Ensuring a participant meets the minimum age requirement for a contest or survey.
  • Validating that a user has not exceeded an upper age limit for a specific program.

What to expect

The tool returns a simple yes or no indicator showing whether the calculated age is between the two numbers you provided. It does not return the actual age in years.

Limitations

  • The accuracy depends entirely on the birth date you provide; if the date is wrong, the result will be incorrect.
  • The tool only checks the age based on the current date and does not account for specific past dates or future events.
  • If the date format is not recognized or is invalid, the tool will not work correctly.

When it fails

  • The date provided is not in a valid format or is missing.
  • The age range values are not valid numbers.
  • The system could not calculate the age due to an internal error.

Good to know

  • Always use the standard date format (Year-Month-Day) to ensure the tool reads the date correctly.
  • Check that the lower age limit is not higher than the upper age limit to get a meaningful result.

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).