# Problem in comparing two dates

**URL:** <https://community.thunkable.com/t/problem-in-comparing-two-dates/976774>\
**Category:** Questions about Thunkable X\
**Created:** [November 16, 2020, 6:57am UTC](https://community.thunkable.com/t/problem-in-comparing-two-dates/976774 "2020-11-16T06:57:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![shirohin6](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@shirohin6](https://community.thunkable.com/u/shirohin6)\
**Post date:** [November 16, 2020, 6:57am UTC](https://community.thunkable.com/t/problem-in-comparing-two-dates/976774/1 "2020-11-16T06:57:13Z")

</div>

Hi,

Kindly refer the attachment “Block”. I am getting stored dates from Airtable and then comparing them with the current date, to take subsequent action. Refere attachment “Airtable” for Airtable data. THe logi was working fine till last week but some how its not working now.

Can any one help.

Thanks in anticipation.

 ![Airtable](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/8/88b5857e73240835941b4d8379c9817ab38b3cda.jpeg) ![Block](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/1/210a4275d14f0591bb85f09460d869632132b163.png)

---

<div class="post-metadata">

**Author:** ![luv.ak.tech](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/luv.ak.tech/32/104896_2.png) [@luv.ak.tech](https://community.thunkable.com/u/luv.ak.tech)\
**Post date:** [November 21, 2020, 12:22pm UTC](https://community.thunkable.com/t/problem-in-comparing-two-dates/976774/2 "2020-11-21T12:22:46Z")

</div>

what is date\_current?

---

<div class="post-metadata">

**Author:** ![shirohin6](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@shirohin6](https://community.thunkable.com/u/shirohin6)\
**Post date:** [November 21, 2020, 1:38pm UTC](https://community.thunkable.com/t/problem-in-comparing-two-dates/976774/3 "2020-11-21T13:38:50Z")

</div>

Hi,

Date\_Current is present day’s date.

---

<div class="post-metadata">

**Author:** ![luv.ak.tech](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/luv.ak.tech/32/104896_2.png) [@luv.ak.tech](https://community.thunkable.com/u/luv.ak.tech)\
**Post date:** [November 21, 2020, 2:39pm UTC](https://community.thunkable.com/t/problem-in-comparing-two-dates/976774/4 "2020-11-21T14:39:43Z")

</div>

is it coming from airtable?

---

<div class="post-metadata">

**Author:** ![shirohin6](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@shirohin6](https://community.thunkable.com/u/shirohin6)\
**Post date:** [November 21, 2020, 3:43pm UTC](https://community.thunkable.com/t/problem-in-comparing-two-dates/976774/5 "2020-11-21T15:43:54Z")

</div>

No its not coming from Airtable.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 21, 2020, 10:46pm UTC](https://community.thunkable.com/t/problem-in-comparing-two-dates/976774/6 "2020-11-21T22:46:43Z")

</div>

It’s going to be hard to troubleshoot this all at once. I recommend checking the value of each component as it’s retrieved. That way, you can make sure you’re getting the values from Airtable that you expect. You’re also not checking the “error” block which is a bit risky as you don’t know if the Airtable call is actually working (I’m assuming it IS).

After you’ve done that, where in the process is it failing? Is there a particular value that isn’t correct? Are you getting a value in the “error” block? Are you seeing a specific error in Thunkable or a white screen or some other result?

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:21pm UTC](https://community.thunkable.com/t/problem-in-comparing-two-dates/976774/7 "2024-11-08T12:21:29Z")

</div>


