Check Personal $1.00 / 1,000 calls

Date is between dates

What this tool does

This tool checks whether a specific date falls within a defined time range. It helps you confirm if a chosen day comes after one date and before another. This is useful for verifying eligibility periods or scheduling windows.

When to use it

  • Checking if a customer's warranty period is still active
  • Verifying if a booking date fits within available hours
  • Confirming if a promotion start date is before the current day and after a past date

What to expect

You will receive a simple yes or no answer. It tells you if the middle date is truly between the first and last dates you provided.

Limitations

  • The tool assumes the middle date is the one being checked against the start and end dates.
  • It relies on you providing dates in a standard format that the system recognizes.
  • It does not account for time zones or daylight saving changes, only the calendar dates.

When it fails

  • If the date format is not recognized, the check will return no.
  • If any of the three dates are missing or empty, the result will be no.

Good to know

  • Ensure the first date is earlier than the second date for the check to make logical sense.
  • The comparison is inclusive, meaning the dates exactly on the start or end date will return yes.

Input data

Parameter Required Example Description
date1 Yes 1975-05-20 Enter the date you want to check, for example '1975-05-20'. This is required.
date2 Yes 1975-05-19 Enter the start of the range, for example '1975-05-19'. This is required.
date3 Yes 1975-05-22 Enter the end of the range, for example '1975-05-22'. This is required.

Output data

Field Description
result A yes/no indicator showing if the first date is between the other two. For example, if the dates are correct, it returns true.