# Specific Day of the week computed column

**URL:** <https://community.glideapps.com/t/specific-day-of-the-week-computed-column/46931>\
**Category:** Ask for Help\
**Created:** [August 16, 2022, 1:15pm UTC](https://community.glideapps.com/t/specific-day-of-the-week-computed-column/46931 "2022-08-16T13:15:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ty.rel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ty.rel/32/48778_2.png) [@Ty.rel](https://community.glideapps.com/u/Ty.rel)\
**Post date:** [August 16, 2022, 1:15pm UTC](https://community.glideapps.com/t/specific-day-of-the-week-computed-column/46931/1 "2022-08-16T13:15:38Z")

</div>

Hi Everyone,

I’d like to add a column to my Glide Page that calculates a future date based on when an entry was done.  
To be clearer, I’d like the entries placed between Monday and Saturday of week 1, shows a payment date of next Thursday.  
How do I do this?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [August 16, 2022, 1:29pm UTC](https://community.glideapps.com/t/specific-day-of-the-week-computed-column/46931/2 "2022-08-16T13:29:25Z")

</div>

I would use 3 columns for this:

- Start with a Math column that determines the Weekday of the given Date  
`Weekday(Date)`
- Add a second Math column that determines the date of Thursday of the following week  
`Date + (5-Weekday(Date)) + 7`
- Finally, an if-then-else column that only outputs the date of next Thursday if the given date is not a Sunday  
– If Day of Week is greater than 1, then next Thursday’s Date

Here is how that would look:

 ![Screen Shot 2022-08-16 at 9.24.48 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/7/5717e8db48df8cd76bb7ea92632413cdf8a05403.png)

---

<div class="post-metadata">

**Author:** ![Ty.rel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ty.rel/32/48778_2.png) [@Ty.rel](https://community.glideapps.com/u/Ty.rel)\
**Post date:** [August 16, 2022, 2:57pm UTC](https://community.glideapps.com/t/specific-day-of-the-week-computed-column/46931/3 "2022-08-16T14:57:16Z")

</div>

Thanks a million @Darren_Murphy ! It worked

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [August 17, 2022, 2:58pm UTC](https://community.glideapps.com/t/specific-day-of-the-week-computed-column/46931/4 "2022-08-17T14:58:13Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
