# IF THEN ELSE - Current date

**URL:** <https://community.glideapps.com/t/if-then-else-current-date/53065>\
**Category:** Ask for Help\
**Created:** [November 1, 2022, 6:58pm UTC](https://community.glideapps.com/t/if-then-else-current-date/53065 "2022-11-01T18:58:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Monika](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/monika/32/49427_2.png) [@Monika](https://community.glideapps.com/u/Monika)\
**Post date:** [November 1, 2022, 6:58pm UTC](https://community.glideapps.com/t/if-then-else-current-date/53065/1 "2022-11-01T18:58:42Z")

</div>

Hi all,

How to define value of current date?

Example:

IF A is 0, then result is current date.

Thanks,

Monika

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [November 1, 2022, 7:08pm UTC](https://community.glideapps.com/t/if-then-else-current-date/53065/2 "2022-11-01T19:08:16Z")

</div>

the answer is exactly your question… lol  
use the math column to get the current time…

 ![Screen Shot 2022-11-01 at 3.11.35 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/b/7b4a756f0edd2f67b65890e81800fa124308a262.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [November 1, 2022, 11:58pm UTC](https://community.glideapps.com/t/if-then-else-current-date/53065/3 "2022-11-01T23:58:04Z")

</div>

You have to get the current time first through Uzo’s method, before using it in an If-Then-Else column.

---

<div class="post-metadata">

**Author:** ![Monika](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/monika/32/49427_2.png) [@Monika](https://community.glideapps.com/u/Monika)\
**Post date:** [November 2, 2022, 4:51pm UTC](https://community.glideapps.com/t/if-then-else-current-date/53065/4 "2022-11-02T16:51:53Z")

</div>

> [@Monika](#):
>
> then result is current date

OK, thank you.

I understand, but the value of current day must be fixed and no longer updated.

So if a record in column A has changed to “0”, then result is current date, and I could see in the table, that it happened for example 3 days ago.

Thank you,

Monika

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [November 2, 2022, 5:01pm UTC](https://community.glideapps.com/t/if-then-else-current-date/53065/5 "2022-11-02T17:01:20Z")

</div>

What makes A change?  
You need to record date when A changes using any action
