0

I have 3 dates in the formate %m/%d/%Y. How to check if the current date is between the other two dates?Please help me to find the code in Python / Robotframework

Eg:

contract_start_date = 02/01/2022 in the format %m/%d/%Y
contract_end_date = 02/15/2023 in the format %m/%d/%Y
current_date = 02/05/2022 in the format %m/%d/%Y

I have to check if the current_date is between contract_start_date and contract_end_date. Please help me.

DYZ
  • 51,549
  • 10
  • 60
  • 87
ROBOTY
  • 1
  • 2

0 Answers0