# Comparing date field in Query does not work for me

**URL:** <https://community.parseplatform.org/t/comparing-date-field-in-query-does-not-work-for-me/765>\
**Category:** JavaScript SDK\
**Created:** [August 30, 2020, 1:51pm UTC](https://community.parseplatform.org/t/comparing-date-field-in-query-does-not-work-for-me/765 "2020-08-30T13:51:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![uzaysan](https://community.parseplatform.org/user_avatar/community.parseplatform.org/uzaysan/32/59_2.png) [@uzaysan](https://community.parseplatform.org/u/uzaysan)\
**Post date:** [August 31, 2020, 12:46pm UTC](https://community.parseplatform.org/t/comparing-date-field-in-query-does-not-work-for-me/765/4 "2020-08-31T12:46:30Z")

</div>

I’m using date fields to compare values or ordering objects with no issues. Can you share an example code? Is `date` object defined?

---

_[View the full topic](https://community.parseplatform.org/t/comparing-date-field-in-query-does-not-work-for-me/765)._
