Compares two dates and determines whether they are equal.
- 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 both dates are equal; otherwise, returns
False.
