Check Personal $1.00 / 1,000 calls

Date is greater or equal

What this tool does

Use this tool to compare two dates and see if the first one is the same as or comes after the second one. It helps you check time order, such as verifying if a birth date is valid or if a start date is not before an end date. The check answers a simple yes or no question about the order of the dates you provide.

When to use it

  • Verifying that a user's date of birth is in the past.
  • Ensuring a contract start date is on or after the current day.
  • Checking that a submission date is not earlier than a deadline.

What to expect

You will receive a clear yes or no answer indicating whether the first date is greater than or equal to the second date.

Limitations

  • The tool only works with dates formatted as year-month-day (e.g., 1975-05-22).
  • Accuracy depends on the dates being valid calendar dates.
  • If you do not provide a second date, the system may use other values in your request, which might not be the date you intended.

When it fails

  • If you enter text that does not look like a date, the check might not work as expected.
  • If the second date is missing, the result might be based on an unexpected value.

Good to know

  • If you only need to compare one date, the tool will try to find another date value in your input, so be careful with extra data.

Input data

Parameter Required Example Description
date1 Yes 1975-05-22 Enter the first date to check, for example '1975-05-22'. This field is required.
date2 No 1975-05-21 Enter the second date to compare against, for example '1975-05-21'. This field is optional; if you leave it blank, the platform uses the second date you typed as this value.

Output data

Field Description
result Returns 'yes' if the first date is later than or the same as the second date, and 'no' if the first date is earlier. For example, if date1 is 2023-01-01 and date2 is 2022-12-31, the result is 'yes'.