# Change default date time in picker

**URL:** <https://community.glideapps.com/t/change-default-date-time-in-picker/38737>\
**Category:** Ask for Help\
**Created:** [February 20, 2022, 12:23pm UTC](https://community.glideapps.com/t/change-default-date-time-in-picker/38737 "2022-02-20T12:23:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miguelll](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/miguelll/32/39012_2.png) [@Miguelll](https://community.glideapps.com/u/Miguelll)\
**Post date:** [February 20, 2022, 12:23pm UTC](https://community.glideapps.com/t/change-default-date-time-in-picker/38737/1 "2022-02-20T12:23:46Z")

</div>

Hello!  
I added a datetime picker into my private app:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/6/66d26f6826ec3a9acb57c82b454f6e1da0541f93.png)  
but the default datetime is strange (~10 days ago):  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/b/0ba24ee80a83dec5ab8d72ad47787e64ab6a015a.png)  
It’s not comfortable because I must to change default date every time when I use this field.  
How can I change it to today or yesterday afternoon for example?

If it would be helpful to understand:  
The app is tracking of actions (one action - one row with date and time).  
Sometimes i forget to add actions and want to add it manually.  
The config DateTime picker is:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/3/43109bce4f2a517a9bf90d6ae8a85d501518fc72.png)

Searching topic like this didnt help.  
Thanks a lot!

---

<div class="post-metadata">

**Author:** ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)\
**Post date:** [February 20, 2022, 7:18pm UTC](https://community.glideapps.com/t/change-default-date-time-in-picker/38737/2 "2022-02-20T19:18:25Z")

</div>

Hola…

It isn’t possible so far. The default value for this component is equivalent to Now() (current day and time)

Bye

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [February 20, 2022, 7:51pm UTC](https://community.glideapps.com/t/change-default-date-time-in-picker/38737/3 "2022-02-20T19:51:46Z")

</div>

The date time picker can default to now/today or any other date but only on a form screen. “Default values” can’t be set of the component is on a details screen.

---

<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:** [February 21, 2022, 1:04am UTC](https://community.glideapps.com/t/change-default-date-time-in-picker/38737/4 "2022-02-21T01:04:43Z")

</div>

If this is not on a top level screen, you can add an action to set your “preset” default date into that column.

---

<div class="post-metadata">

**Author:** ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)\
**Post date:** [February 21, 2022, 1:39am UTC](https://community.glideapps.com/t/change-default-date-time-in-picker/38737/5 "2022-02-21T01:39:08Z")

</div>

I had forgotten this detail, thanks for reminding it @Robert_Petitto

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/7/a71ce0c653c29b6e594be9262d2ee6468bccf983.png)

---

<div class="post-metadata">

**Author:** ![Miguelll](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/miguelll/32/39012_2.png) [@Miguelll](https://community.glideapps.com/u/Miguelll)\
**Post date:** [February 21, 2022, 7:43am UTC](https://community.glideapps.com/t/change-default-date-time-in-picker/38737/6 "2022-02-21T07:43:27Z")

</div>

thanks a lot for your advice, but I don’t have “default value” field:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/4/e4a4c32193e31b6309187c1db20fa0a02dd36d9a.png)  
“datetime” - is the column name.

---

<div class="post-metadata">

**Author:** ![Miguelll](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/miguelll/32/39012_2.png) [@Miguelll](https://community.glideapps.com/u/Miguelll)\
**Post date:** [February 21, 2022, 7:47am UTC](https://community.glideapps.com/t/change-default-date-time-in-picker/38737/7 "2022-02-21T07:47:09Z")

</div>

But I want to set default date into form, not into column.  
It’s very uncomfortable to change 11.02.2022 to 21.02.2022 every time when I use this functional.

---

<div class="post-metadata">

**Author:** ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)\
**Post date:** [February 22, 2022, 12:20am UTC](https://community.glideapps.com/t/change-default-date-time-in-picker/38737/8 "2022-02-22T00:20:18Z")

</div>

@Miguelll , disculpa el retraso en responder.

The “default value” field that you need will appear when you will insert the Form Button on your screen…

1. 

2. Open your new Form and …  

3. Insert a new Date Picker component on it  

It’s the only way to have the Default Value enabled. (and I don’t know why?? 🥴)

Saludos!

---

<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:** [February 22, 2022, 12:45am UTC](https://community.glideapps.com/t/change-default-date-time-in-picker/38737/9 "2022-02-22T00:45:20Z")

</div>

If you’re already using a form, you should see an option to have a default value like @gvalero pointed out.

You can’t have a default value of a component on the details screen.
