# WHERE Condition Dropdown IN/NOT IN (Date, Timestamp, DateTime, and SmallDateTime)

**URL:** <https://forums.toadworld.com/t/where-condition-dropdown-in-not-in-date-timestamp-datetime-and-smalldatetime/61503>\
**Category:** Idea Pond\
**Created:** [January 8, 2026, 6:22pm UTC](https://forums.toadworld.com/t/where-condition-dropdown-in-not-in-date-timestamp-datetime-and-smalldatetime/61503 "2026-01-08T18:22:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrea.cotes](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@andrea.cotes](https://forums.toadworld.com/u/andrea.cotes)\
**Post date:** [January 8, 2026, 6:22pm UTC](https://forums.toadworld.com/t/where-condition-dropdown-in-not-in-date-timestamp-datetime-and-smalldatetime/61503/1 "2026-01-08T18:22:37Z")

</div>

Can a request be submitted to correct the format of the drop-down so that ‘IN’ values match the shortdate values as the ‘=’ condition?

 ![image](https://global.discourse-cdn.com/quest/original/3X/1/e/1ee0e0042dabcc4d0e08016236d8a76a8ff18d46.png)

In contrast:

 ![image](https://global.discourse-cdn.com/quest/original/3X/8/2/823f24b49eb1a918a9721028e38da896b03e8a84.png)

---

<div class="post-metadata">

**Author:** ![nikola.stajkovic](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nikola.stajkovic](https://forums.toadworld.com/u/nikola.stajkovic)\
**Post date:** [January 9, 2026, 7:54am UTC](https://forums.toadworld.com/t/where-condition-dropdown-in-not-in-date-timestamp-datetime-and-smalldatetime/61503/2 "2026-01-09T07:54:24Z")

</div>

Hello Andrea,

Could you please let me know which data source you were using when you encountered this?  
Also, what is the data type of the column, and what are your current settings for data type formatting?

 ![image (12)](https://global.discourse-cdn.com/quest/original/3X/a/4/a4376a7e663ee229bb3ae4405c3ac31384287b7b.png)

My goal is to reproduce the issue on my end and verify whether it has already been documented.

---

<div class="post-metadata">

**Author:** ![andrea.cotes](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@andrea.cotes](https://forums.toadworld.com/u/andrea.cotes)\
**Post date:** [January 9, 2026, 4:15pm UTC](https://forums.toadworld.com/t/where-condition-dropdown-in-not-in-date-timestamp-datetime-and-smalldatetime/61503/3 "2026-01-09T16:15:21Z")

</div>

Hi @nikola.stajkovic  
The source is SAP HANA, and the data type for the column is timestamp.  
Right now, the data type formatting is shortdate. I tried changing these options, but the WHERE clause still shows the shortdate _and time_ for the IN condition. In the case of the =, the option changes seem to be working correctly.

---

<div class="post-metadata">

**Author:** ![nikola.stajkovic](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nikola.stajkovic](https://forums.toadworld.com/u/nikola.stajkovic)\
**Post date:** [January 12, 2026, 11:35am UTC](https://forums.toadworld.com/t/where-condition-dropdown-in-not-in-date-timestamp-datetime-and-smalldatetime/61503/4 "2026-01-12T11:35:29Z")

</div>

Hi Andrea,  
Thank you for providing the additional information. The issue has been documented accordingly.
