# Is "if-then-else" column autoupdated when "today" changes?

**URL:** <https://community.glideapps.com/t/is-if-then-else-column-autoupdated-when-today-changes/23330>\
**Category:** Ask for Help\
**Created:** [February 24, 2021, 3:36am UTC](https://community.glideapps.com/t/is-if-then-else-column-autoupdated-when-today-changes/23330 "2021-02-24T03:36:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![starfall](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/starfall/32/22183_2.png) [@starfall](https://community.glideapps.com/u/starfall)\
**Post date:** [February 24, 2021, 3:36am UTC](https://community.glideapps.com/t/is-if-then-else-column-autoupdated-when-today-changes/23330/1 "2021-02-24T03:36:11Z")

</div>

**Scenario:**

1. Create a column with properties:

- Name: DateTimeColumn
- Type: Date/Time

1. Create a column with properties:

- Name: ConditionalColumn
- Type: If-Then-Else with the following logic: “If DateTimeColumn is before today then True else False”

1. Create a new row with properties:

- DateTimeColumn: current date + 1 day.

1. Notice that:

- ConditionalColumn automatically evaluated to False.

1. Wait for 2 days.

**Expected:** ConditionalColumn automatically evaluated to True, because DateTimeColumn is before today (after waiting for 2 days).

**Actual:** that’s the question - will ConditionalColumn automatically evaluate to True?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 24, 2021, 3:43am UTC](https://community.glideapps.com/t/is-if-then-else-column-autoupdated-when-today-changes/23330/2 "2021-02-24T03:43:31Z")

</div>

Yes, when comparing to Now or Today, it’s a realtime comparison based on the local time of the device viewing the app.

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [January 17, 2024, 4:53pm UTC](https://community.glideapps.com/t/is-if-then-else-column-autoupdated-when-today-changes/23330/3 "2024-01-17T16:53:20Z")

</div>


