# Display Current Day of Week

**URL:** <https://community.glideapps.com/t/display-current-day-of-week/15683>\
**Category:** Ask for Help\
**Created:** [September 12, 2020, 9:50am UTC](https://community.glideapps.com/t/display-current-day-of-week/15683 "2020-09-12T09:50:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![willk](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/willk/32/13463_2.png) [@willk](https://community.glideapps.com/u/willk)\
**Post date:** [September 12, 2020, 9:50am UTC](https://community.glideapps.com/t/display-current-day-of-week/15683/1 "2020-09-12T09:50:10Z")

</div>

Hi, I’m trying to do something which I think is probably fairly straightforward, but I must be missing something.

I want to simply display the current day of the week at the top of my Detail/home screen, like this:

![Screenshot 2020-09-12 at 10.39.00](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/7/71c42eb974aefdd0b7c3dd34e607cefc4acd8239.png)

The relevant columns of my Google Sheet are set up like this [EDIT - the community will only let me post one attachment so I’ll add in a reply if possible]

The GlideDate column is formatted as a date in Google Sheets (I’ve tried YYYY-MM-DD, DD/MM/YYYY and MM/DD/YYYY), and the column is configured as a date column in the Glide data settings.

I’m using a text component with a condition “Show component when GlideDate is within today”.

The result is that the component just doesn’t show. When I remove the condition, it just shows the first row content (Thursday).

Any pointers appreciated!

---

<div class="post-metadata">

**Author:** ![willk](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/willk/32/13463_2.png) [@willk](https://community.glideapps.com/u/willk)\
**Post date:** [September 12, 2020, 9:50am UTC](https://community.glideapps.com/t/display-current-day-of-week/15683/2 "2020-09-12T09:50:59Z")

</div>

Column setup:

 ![Screenshot 2020-09-12 at 10.38.34](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/f/fb90af791f8e8a965b518a547d7c4e85b0484685.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:** [September 12, 2020, 9:55am UTC](https://community.glideapps.com/t/display-current-day-of-week/15683/3 "2020-09-12T09:55:13Z")

</div>

I think you can just have a separate sheet like this for two values, it will be updated every day.

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/d/dd9fd61af37d34d9b317988780684607923b7d35.png)

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/2/246a77b92f123ae0ba7e0bff6f8a84125d64d42f.png)

Then display them in 2 separate text components and format accordingly.

---

<div class="post-metadata">

**Author:** ![willk](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/willk/32/13463_2.png) [@willk](https://community.glideapps.com/u/willk)\
**Post date:** [September 12, 2020, 10:01am UTC](https://community.glideapps.com/t/display-current-day-of-week/15683/4 "2020-09-12T10:01:58Z")

</div>

Thanks for the speedy reply! I actually tried something like this, but this requires background refresh I think? I know this is available on the Pro Plan, but at the moment this is an early proof of concept 😃

I don’t currently understand why my approach doesn’t work - it’s fine if it doesn’t, but I’m just trying to get my head around how everything works so it would be good to know why it is that it doesn’t in this case.

---

<div class="post-metadata">

**Author:** ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)\
**Post date:** [September 12, 2020, 10:28am UTC](https://community.glideapps.com/t/display-current-day-of-week/15683/5 "2020-09-12T10:28:02Z")

</div>

Yes, if you want the date to change without any input from the user, then you’ll need background refresh or else the date (and app) will only update when something in the sheet changes.

See my post below for how to build a refresh button into the app for this very purpose. It would only show for the first user each day (until the day matches “today” ).

> [@Prevent bookings 6 months or more away (in the editor, not the sheet)](https://community.glideapps.com/t/prevent-bookings-6-months-or-more-away-in-the-editor-not-the-sheet/15213/8):
>
> Genius! Works like a charm. Appreciate your help on this! I may build in my manual refresh method into it to help prevent any issues. It’s a way to add a forced refresh for Today calcs for non-Pro apps. It involves using a Single Value column of a Today calc (in the sheet) to check if that column is “today” in the Editor. If it’s not, it shows a refresh button that is tied to an increment action (basically just to force a value to the sheet so it gets refreshed). If that helps anyone, there you…

---

<div class="post-metadata">

**Author:** ![willk](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/willk/32/13463_2.png) [@willk](https://community.glideapps.com/u/willk)\
**Post date:** [September 12, 2020, 10:49am UTC](https://community.glideapps.com/t/display-current-day-of-week/15683/6 "2020-09-12T10:49:42Z")

</div>

Got it, I have it set up like this:

 ![Screenshot 2020-09-12 at 11.41.21](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/7/78bfb63b30206bb8eacd65c0afbd7c564f9c5861.png)

My new ‘DateToday’ column just has a =Today() formula in the first cell. Hard to test as I’ve already refreshed the Google Sheet today, but I think I’ve understood your solution correctly.

I also found that my original approach actually works if I swap the ‘Text’ component for an ‘Inline List’ … which I think leads me to understand why it didn’t work. Is it the case that if you have a text component on a tab that doesn’t itself have a filter applied (for the whole tab), then the Text component will only ever look at the first row of data?

---

<div class="post-metadata">

**Author:** ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)\
**Post date:** [September 12, 2020, 11:24am UTC](https://community.glideapps.com/t/display-current-day-of-week/15683/7 "2020-09-12T11:24:46Z")

</div>

Yes I think so!

---

<div class="post-metadata">

**Author:** ![willk](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/willk/32/13463_2.png) [@willk](https://community.glideapps.com/u/willk)\
**Post date:** [September 12, 2020, 11:32am UTC](https://community.glideapps.com/t/display-current-day-of-week/15683/8 "2020-09-12T11:32:05Z")

</div>

Thanks for all the help!
