Compares two dates and determines whether Date 1 is before Date 2.
- Date 1
- A String object that represents the first date to compare.
- Date 1 format
- A String object that represents the format of Date 1.
- Date 2
- A String object that represents the second date in the comparison.
- Date 2 format
- A String object that represents the format of Date 2.
Returns True if Date 1 is before Date 2; otherwise, returns
False.
