# Filter collection by math column date

**URL:** <https://community.glideapps.com/t/filter-collection-by-math-column-date/72612>\
**Category:** Ask for Help\
**Created:** [April 16, 2024, 7:06am UTC](https://community.glideapps.com/t/filter-collection-by-math-column-date/72612 "2024-04-16T07:06:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [April 16, 2024, 9:33am UTC](https://community.glideapps.com/t/filter-collection-by-math-column-date/72612/2 "2024-04-16T09:33:17Z")

</div>

Sometimes what you see as a timestamp (date-time column) in the data editor is not exactly what you get. The date-time column includes both a date and time, and you might be comparing two values that have the same date but different times.

Two ideas :

1. You could change your date-time columns to a yyyymmdd format and compare those numbers.
2. Make sure the times in the date-time columns are exactly the same, for instance 00:00:00. I’m not sure I would even trust this approach, because you might be able to remove hours, minutes and seconds to get to midnight, but I’m not too sure about milliseconds and beyond. Idea 1 should work.

The following might help:

> [@date Guide: Mastering Dates & Times](https://community.glideapps.com/t/guide-mastering-dates-times/70381):
>
> The Date & Time column contains both a date and time value within one single value. Dates and times can therefore be tricky to understand and to work with. It helps to keep things simple to stay out of trouble. Here are a few tips: Writing dates Avoid writing dates manually. Use a picker instead. If done via import, be weary of the format of the date column in the source. Relations Anytime you create a relation with a date, convert the date to either a string (template column) or a number (…

---

_[View the full topic](https://community.glideapps.com/t/filter-collection-by-math-column-date/72612)._
