# Computising End Dates

**URL:** https://community.glideapps.com/t/computising-end-dates/41577
**Category:** Ask for Help
**Created:** [May 3, 2022, 1:25pm UTC](https://community.glideapps.com/t/computising-end-dates/41577 "2022-05-03T13:25:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Dragonjamesx](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dragonjamesx/32/41398_2.png) [@Dragonjamesx](https://community.glideapps.com/u/Dragonjamesx)
#### Post date: [May 3, 2022, 1:25pm UTC](https://community.glideapps.com/t/computising-end-dates/41577/1 "2022-05-03T13:25:36Z")

</div>

Hi all,

Hope you are well.  
I realise there have been similar comments around this, but I wanted to get something clear.

I am creating a Football (soccer for the other side of the pond 😉 ) app. The “matches” are scheduled events.

So my app will have the ability to create a new match, with an oppoenent but ideally, I want it so that a start time is defined. Based on the start time, it calculates 2 hours (120 minutes) (45 minutes per half + break and extras) so the end time is pre-defined and wont be deviated from. Is there a way to create an event, select a start time and it auto populates the end time for 120 minutes later, or whatever period of time I wish after the start time?

Thanks,  
James

---

<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: [May 3, 2022, 1:31pm UTC](https://community.glideapps.com/t/computising-end-dates/41577/2 "2022-05-03T13:31:20Z")

</div>

> [@Dragonjamesx](#):
>
> Is there a way to create an event, select a start time and it auto populates the end time for 120 minutes later, or whatever period of time I wish after the start time?

Yeah, that’s easy with the Glide [math column](https://docs.glideapps.com/all/topics/computed-columns/primary/math-column#date-and-time-math). To add 2 hours to a start time, the formula to use would be `Start + 2/24`

---

<div class="post-metadata">

### Author: ![Dragonjamesx](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dragonjamesx/32/41398_2.png) [@Dragonjamesx](https://community.glideapps.com/u/Dragonjamesx)
#### Post date: [May 3, 2022, 1:34pm UTC](https://community.glideapps.com/t/computising-end-dates/41577/3 "2022-05-03T13:34:49Z")

</div>

Thanks @Darren_Murphy hat has worked nicely 🙂

James

---

<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: [May 4, 2022, 1:35pm UTC](https://community.glideapps.com/t/computising-end-dates/41577/4 "2022-05-04T13:35:41Z")

</div>

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