# How do you store date in to text/variable?

**URL:** <https://community.thunkable.com/t/how-do-you-store-date-in-to-text-variable/2200266>\
**Category:** Questions about Thunkable X\
**Created:** [December 31, 2022, 6:25pm UTC](https://community.thunkable.com/t/how-do-you-store-date-in-to-text-variable/2200266 "2022-12-31T18:25:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikew1944](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mikew1944/32/143983_2.png) [@mikew1944](https://community.thunkable.com/u/mikew1944)\
**Post date:** [December 31, 2022, 6:25pm UTC](https://community.thunkable.com/t/how-do-you-store-date-in-to-text-variable/2200266/1 "2022-12-31T18:25:53Z")

</div>

I want a user to pick a start date from the date input and save to Firebase under the date object with fields.

I found this solution below. I have date showing in the database but it doesn’t show a value.

Any ideas on what I’m doing wrong?

**@ieremie.mariae0ximv This is what I do to transfer/save my dates. I use the Date input and save that in a stored or cloud variable. I then use a Label to display the stored Date information. It works really well.**

![Screenshot 2023-01-01 at 8.00.30 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/c/bc6238b385d49a6c1188f29931826fbd411f3cc0.png)

 ![Screenshot 2023-01-01 at 8.00.55 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/4/c4493cbf09b39e44524e14c8da3eb32493b75b98.png)

---

<div class="post-metadata">

**Author:** ![mikew1944](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mikew1944/32/143983_2.png) [@mikew1944](https://community.thunkable.com/u/mikew1944)\
**Post date:** [January 1, 2023, 10:12pm UTC](https://community.thunkable.com/t/how-do-you-store-date-in-to-text-variable/2200266/2 "2023-01-01T22:12:03Z")

</div>

Not sure if this is the correct way, but I was able to successfully select a date and store that date into the database using this technique.

 ![DateInputSavedToFireBase](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/5/e5c34db95d7d0417b5c9f989b3a2c1c105d49b9e.png)  
 ![DateInputSavedToFireBaseDate](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/3/13e7a4c342f1d8406ab2947c2d201bf8b79bed27.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [April 1, 2023, 10:12pm UTC](https://community.thunkable.com/t/how-do-you-store-date-in-to-text-variable/2200266/3 "2023-04-01T22:12:17Z")

</div>

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