# Compare Dates Not Working

**URL:** <https://community.parabola.io/t/compare-dates-not-working/1695>\
**Category:** Ask a question\
**Created:** [March 24, 2021, 2:15pm UTC](https://community.parabola.io/t/compare-dates-not-working/1695 "2021-03-24T14:15:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marianna\_Kerppola](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@Marianna\_Kerppola](https://community.parabola.io/u/Marianna_Kerppola)\
**Post date:** [March 24, 2021, 2:15pm UTC](https://community.parabola.io/t/compare-dates-not-working/1695/1 "2021-03-24T14:15:27Z")

</div>

Hi! I’m trying to compare two dates, but I’m receiving the following error: “One or more of your dates is not a valid format and therefore did not receive a result.”

I added a Format Dates step before the Compare dates step to format the two dates I’m comparing to be the same, but I’m still getting the same error.

Here’s the screenshots for both steps:

 ![Screen Shot 2021-03-24 at 10.13.25 AM](https://us1.discourse-cdn.com/flex020/uploads/parabola/original/2X/d/d4a2940f60e164539e01e7684a65cbe1b5192e3b.png) ![Screen Shot 2021-03-24 at 10.13.05 AM](https://us1.discourse-cdn.com/flex020/uploads/parabola/original/2X/5/5125ce50e762e33fd8923196d0edbe7195b298a2.png) ![Screen Shot 2021-03-24 at 9.27.33 AM](https://us1.discourse-cdn.com/flex020/uploads/parabola/original/2X/0/084a6da5657b45fd1a531ccaa6b8ce5ed750bbc9.png)

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![Adam\_R](https://sea2.discourse-cdn.com/flex020/user_avatar/community.parabola.io/adam_r/32/2207_2.png) [@Adam\_R](https://community.parabola.io/u/Adam_R)\
**Post date:** [March 24, 2021, 5:56pm UTC](https://community.parabola.io/t/compare-dates-not-working/1695/2 "2021-03-24T17:56:43Z")

</div>

Hi Marianna –

In your “Format Dates” step, try formatting both dates as “YYYY-MM-DD HH:mm:ss.”

Let me know if this does the trick!
