# Date and Time Component

**URL:** https://community.glideapps.com/t/date-and-time-component/66284
**Category:** Ask for Help
**Created:** [September 18, 2023, 9:22pm UTC](https://community.glideapps.com/t/date-and-time-component/66284 "2023-09-18T21:22:08Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![AJS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ajs/32/62787_2.png) [@AJS](https://community.glideapps.com/u/AJS)
#### Post date: [September 18, 2023, 9:22pm UTC](https://community.glideapps.com/t/date-and-time-component/66284/1 "2023-09-18T21:22:08Z")

</div>

Hi, i have a ‘Date and Time’ component set-up in one Layout Page, that when i choose a date & time entry (ususally as if wanting entry logged for ‘now’ entry) does link back and update a relevant row/column cell, as part of a particular ‘Data Table’, which is fine. However, this same ‘Date Table’, is itself a link from an external Excel (Sharepoint) worksheet, but does not correspondingly update with the same Date & Time entry showing in the linked Glide Data Table, of the row/column cell - why not or what have i not done or accounted for (hope this makes sense) ?

Thanks in advance to any reply 🙂

---

<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 19, 2023, 12:47am UTC](https://community.glideapps.com/t/date-and-time-component/66284/2 "2023-09-19T00:47:57Z")

</div>

Can you add some screenshots of the problem? Or a video record using [Loom](https://loom.com)? Thank you.

---

<div class="post-metadata">

### Author: ![AJS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ajs/32/62787_2.png) [@AJS](https://community.glideapps.com/u/AJS)
#### Post date: [September 19, 2023, 8:44am UTC](https://community.glideapps.com/t/date-and-time-component/66284/3 "2023-09-19T08:44:22Z")

</div>

Sure, first pic shows sample of fictional person and address, with the a ‘Date & Time’ selection done. The second pic show how it popualtes a ‘Data Table’ column/row cell it is meant to link too. The Thrid pic shows how this has not auto populated the linked and imported Excel Sharepoint worksheet that made the Glide ‘Data Table’ from the second pic. I think what is actually happening is that the ‘Date & Time’ i select in the Layout, fills the ‘field’ and oonly briefly appears in it and then it disappears when going out of the screen, so in turn only briefly appears in the date table as well. So first of all i need the ‘Date & Time’ chosen to stay in the ‘Date Table’ after entry, but not really to stay in the field of the Layout field (i.e. reset itself to blank, but not affect the ;Data Table entry until a new ‘Date & Time’ chosen - does this make sense ?

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/3/e32983d0404db2106208ebf234a38dcd33d0f9f0.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 20, 2023, 12:55am UTC](https://community.glideapps.com/t/date-and-time-component/66284/4 "2023-09-20T00:55:16Z")

</div>

Sorry, it seems like there’s only image attached to your comment. Can you post the other images?

---

<div class="post-metadata">

### Author: ![AJS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ajs/32/62787_2.png) [@AJS](https://community.glideapps.com/u/AJS)
#### Post date: [September 20, 2023, 2:20pm UTC](https://community.glideapps.com/t/date-and-time-component/66284/5 "2023-09-20T14:20:39Z")

</div>

True, but thinking about it, not sure it helps. However, let me explain it a little differently after looking at it a bit more, using the screen shot previouly shown, when i choose a ‘Date and Time’ in a Detail Screen, in populates the relevant linked Date Table, BUT only for a few seconds and then disappears, why would this be and why will it not stick and stay as such on ‘Submit’, until an new entry is warranted - Can you help ?

---

<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: [September 20, 2023, 2:23pm UTC](https://community.glideapps.com/t/date-and-time-component/66284/6 "2023-09-20T14:23:43Z")

</div>

> [@AJS](#):
>
> when i choose a ‘Date and Time’ in a Detail Screen, in populates the relevant linked Date Table, BUT when i click the Submit button, i think that is what seems to wipe the entry off the linked Data Table - Can you help ?

That doesn’t really make sense, because Submit buttons belong on forms, and a details screen is not a form.

So the obvious follow up question is - where does this submit button come from, and what action/s does it perform?

---

<div class="post-metadata">

### Author: ![AJS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ajs/32/62787_2.png) [@AJS](https://community.glideapps.com/u/AJS)
#### Post date: [September 20, 2023, 2:35pm UTC](https://community.glideapps.com/t/date-and-time-component/66284/7 "2023-09-20T14:35:43Z")

</div>

🤔 but the ‘Date and Time’ function is a ‘Form Element’ is it not and the ‘Submit’ button input only to use as sort of ‘i have completed’ what i need to input. The button has an ‘Action’ to go back to a previous screen upon 'tapping/clicking it. Basically for now, to keep things simple (for me 🫣, whilst i try to understand knowledge around this) how best to have a component in the example ‘Screenshot’ layout page, where i want to input a value (to represent a value entry, not an actual payment function per se) and another component (if needed) where by their entries would both link back to a Data Table (kind of know how to do the link back) but also have a ‘Submit’ type button that upon hitting it, does not wipe their entries from the Date Table, until next time new entries done ?

---

<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: [September 20, 2023, 4:14pm UTC](https://community.glideapps.com/t/date-and-time-component/66284/8 "2023-09-20T16:14:21Z")

</div>

> [@AJS](#):
>
> but the ‘Date and Time’ function is a ‘Form Element’ is it not and the ‘Submit’ button input only to use as sort of ‘i have completed’ what i need to input. The button has an ‘Action’ to go back to a previous screen upon 'tapping/clicking it.

ah, I see. I think we are tripping over terminology. When you said Submit button, I assumed that you were referring to something like this 👇  
 ![CleanShot 2023-09-21 at 00.07.54@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/d/9d3eebf855b11f7e67642a954704210ed5b5c7f4.png)

But you were actually referring to this, yes? 👇

![CleanShot 2023-09-21 at 00.08.21@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/d/4d749af896aabfbd387d6627abbe87e836a48496.png)

> [@AJS](#):
>
> how best to have a component in the example ‘Screenshot’ layout page, where i want to input a value (to represent a value entry, not an actual payment function per se) and another component (if needed) where by their entries would both link back to a Data Table (kind of know how to do the link back) but also have a ‘Submit’ type button that upon hitting it, does not wipe their entries from the Date Table, until next time new entries done ?

That’s all a bit confusing, sorry.  
But let’s take a step back, just so that my understanding so far is clear. Is the following statement correct?

You open the date picker, select a date, and when you close the date picker by clicking OK, the date you selected does not appear.

Assuming the above is correct, can you please show me:

- The configuration of your Date Picker component
- The column in the Data Editor that the Date Picker is targeted at

---

<div class="post-metadata">

### Author: ![AJS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ajs/32/62787_2.png) [@AJS](https://community.glideapps.com/u/AJS)
#### Post date: [September 20, 2023, 5:14pm UTC](https://community.glideapps.com/t/date-and-time-component/66284/9 "2023-09-20T17:14:53Z")

</div>

Upon selecting a ‘Date and Time’ using the date picker element/component, it does appear as and entry (as can be seen in in frist pic attached, example from my early stage mock-up), however, it only populates the linked ‘Data Table’ cell for a few seconds and then disappears out of it.

What I want to happen, is for any entry Date and Time chosen, using the ‘Date Picker’, to stick in the ‘Data Table’ upon tapping/clicking the ‘Submit’ button AND for that entry to stay showing in the ‘Visit Date’ field, until or unless I delete it via the ‘Data Table’

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/9/29c3a6f1dd243c2648921664b6de40b3b0da6e73.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/4/a4a0a2249f5162ba07234c7cea7079554d69b126.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 21, 2023, 1:14am UTC](https://community.glideapps.com/t/date-and-time-component/66284/10 "2023-09-21T01:14:04Z")

</div>

So ultimately, let’s keep the Submit button aside, you mean you’re setting a date in the Visit Date column and it doesn’t stick?

---

<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: [September 21, 2023, 2:19am UTC](https://community.glideapps.com/t/date-and-time-component/66284/11 "2023-09-21T02:19:29Z")

</div>

I wouldn’t rule the Submit button out.  
It’s not a form screen, which means that button must have been manually added.  
I’d like to know what the action is on that button… if for no other reason than to rule it out as a cause

---

<div class="post-metadata">

### Author: ![AJS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ajs/32/62787_2.png) [@AJS](https://community.glideapps.com/u/AJS)
#### Post date: [September 21, 2023, 8:22am UTC](https://community.glideapps.com/t/date-and-time-component/66284/12 "2023-09-21T08:22:01Z")

</div>

Correct

---

<div class="post-metadata">

### Author: ![AJS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ajs/32/62787_2.png) [@AJS](https://community.glideapps.com/u/AJS)
#### Post date: [September 21, 2023, 8:24am UTC](https://community.glideapps.com/t/date-and-time-component/66284/13 "2023-09-21T08:24:29Z")

</div>

Sure, the ‘Action’ upon tapping/clicking the Submit button is to just ‘go back a screen’ to a list of other people associated within a specifiic group.

---

<div class="post-metadata">

### Author: ![AJS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ajs/32/62787_2.png) [@AJS](https://community.glideapps.com/u/AJS)
#### Post date: [September 22, 2023, 1:40pm UTC](https://community.glideapps.com/t/date-and-time-component/66284/14 "2023-09-22T13:40:20Z")

</div>

Hi @Darren_Murphy , i still hope for a reply to resolve this issue, be most grateful if you can help or advise alternative/work around ? Thanks

---

<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: [September 22, 2023, 1:46pm UTC](https://community.glideapps.com/t/date-and-time-component/66284/15 "2023-09-22T13:46:44Z")

</div>

mmm, okay. We went backwards and forwards a bit there, and to be honest I still don’t have a clear picture in my mind of your setup. Would you be prepared to temporarily give me access to your team so that I can open the App in the builder and take a look? If I can see it in front of me, I suspect that I might be able to spot the problem fairly quickly. This might save us both a bit of time 🤷‍♂️

If you’re okay with that, send me a private message with your Team Invite Link, and I’ll take a look.

---

<div class="post-metadata">

### Author: ![AJS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ajs/32/62787_2.png) [@AJS](https://community.glideapps.com/u/AJS)
#### Post date: [September 22, 2023, 2:24pm UTC](https://community.glideapps.com/t/date-and-time-component/66284/16 "2023-09-22T14:24:06Z")

</div>

Sure, will look into that now 👍

---

<div class="post-metadata">

### Author: ![AJS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ajs/32/62787_2.png) [@AJS](https://community.glideapps.com/u/AJS)
#### Post date: [September 22, 2023, 2:29pm UTC](https://community.glideapps.com/t/date-and-time-component/66284/17 "2023-09-22T14:29:55Z")

</div>

Done (i think) 🙂
