# Is there a way to create your own date format?

**URL:** <https://community.thunkable.com/t/is-there-a-way-to-create-your-own-date-format/1673039>\
**Category:** Questions about Thunkable X\
**Tags:** design, beginner, help\
**Created:** [January 14, 2022, 5:51pm UTC](https://community.thunkable.com/t/is-there-a-way-to-create-your-own-date-format/1673039 "2022-01-14T17:51:01Z")\
**Posts on this page:** 9\
**Page:** 3

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 18, 2022, 11:32pm UTC](https://community.thunkable.com/t/is-there-a-way-to-create-your-own-date-format/1673039/41 "2022-01-18T23:32:32Z")

</div>

Set the date picker’s visible property to false inside of the “when date picked” block.

Sorry, I’m not at my computer so I can’t provide a screenshot. Let me know if you still need help with that.

---

<div class="post-metadata">

**Author:** ![andos-avlog](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/andos-avlog/32/122340_2.png) [@andos-avlog](https://community.thunkable.com/u/andos-avlog)\
**Post date:** [January 18, 2022, 11:57pm UTC](https://community.thunkable.com/t/is-there-a-way-to-create-your-own-date-format/1673039/42 "2022-01-18T23:57:24Z")

</div>

Hi @tatiang, I accidentally put the “ **date picker’s visible property to false** ” block inside the “ **AddRecLabelBox** ” (see below) and found that when the date was selected, the **Date Picker row**  **disappeared instantly** as hoped!!

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/c/dca8d1b6eb26571bb14de7f5befdf3baa1af158e.png)

When I placed “ **date picker’s visible property to false** ” inside the “ **when date picked** ” block, it took about **2 seconds** before the **Date Picker row** disappeared. I’m guessing that the Block configuration I found by accident acts like a **on/off switch**. **What do you think?**

I have also just noticed that, for some reason, after adding the “ **date picker’s visible property to false** ” in either of the two abovementioned scenarios, I now no longer receive my “Data Save Successfully” labels.

Many many thanks,

Andos.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 19, 2022, 3:01am UTC](https://community.thunkable.com/t/is-there-a-way-to-create-your-own-date-format/1673039/43 "2022-01-19T03:01:12Z")

</div>

So… are you happy with how it works now?

I would have put the visible=false block in the `when Date Picked` block as I mentioned. Make sure it’s the **first** block in the event block because you don’t want to wait until _after_ the Google Sheet is updated to then hide that block.

 ![dca8d1b6eb26571bb14de7f5befdf3baa1af158e](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/9/894a4eaa9474feac22020a6616769e2b54595273.png)

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [January 19, 2022, 3:07pm UTC](https://community.thunkable.com/t/is-there-a-way-to-create-your-own-date-format/1673039/44 "2022-01-19T15:07:38Z")

</div>

> [@tatiang](#):
>
> So something is not working either in the `Convert` function or in the `update value` block.

Yes, this happens. If the column **DATE** is formatted as date if Google sheet then it will actually expect a number not a text. If you use the `update value` but instead of the formatted date you supplied the `seconds since 1970` you will get the vibrate because the value will be saved successfully.

---

<div class="post-metadata">

**Author:** ![andos-avlog](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/andos-avlog/32/122340_2.png) [@andos-avlog](https://community.thunkable.com/u/andos-avlog)\
**Post date:** [January 19, 2022, 10:04pm UTC](https://community.thunkable.com/t/is-there-a-way-to-create-your-own-date-format/1673039/45 "2022-01-19T22:04:56Z")

</div>

Hi @tatiang, I have moved the “visible=false” block as you have just suggested and the Date format works perfectly now! I really don’t know how you guys figure these issues out.

My solved date format below:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/5/e5676ea4811325547f647914fa7f9eec809d6b01.png)

Top marks!

Many thanks,

Andos.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [January 19, 2022, 10:10pm UTC](https://community.thunkable.com/t/is-there-a-way-to-create-your-own-date-format/1673039/46 "2022-01-19T22:10:37Z")

</div>

Hey guys! Check out this project! This project features fully formattable timestamps. Keep you time in seconds (as it really should be) and format it for the user only when needed! AND format in your preferred way! ON THE FLY!  
[https://x.thunkable.com/projectPage/61e8895b1943bc0010bf7b86](https://x.thunkable.com/projectPage/61e8895b1943bc0010bf7b86)

It allows you to use any formatting string available here

> **[luxon - Immutable date wrapper](https://moment.github.io/luxon/#/formatting)**
>
> Immutable date wrapper

Skys the limit!

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 19, 2022, 10:26pm UTC](https://community.thunkable.com/t/is-there-a-way-to-create-your-own-date-format/1673039/47 "2022-01-19T22:26:24Z")

</div>

Very cool!

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [February 9, 2022, 7:50pm UTC](https://community.thunkable.com/t/is-there-a-way-to-create-your-own-date-format/1673039/48 "2022-02-09T19:50:38Z")

</div>

To follow up here

For date inputs we can modify the format

try this block combo, for example

 ![Screen Shot 2022-02-09 at 2.49.29 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/2/42e30a5b743de76fd8e29aedb55926af85dbc946.png)

Check out the formatting strings under the Date section

> **[Date & time formats cheatsheet](https://devhints.io/datetime)**
>
> The one-page guide to Date & time formats: usage, examples, links, snippets, and more.

---

<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:** [May 10, 2022, 7:51pm UTC](https://community.thunkable.com/t/is-there-a-way-to-create-your-own-date-format/1673039/49 "2022-05-10T19:51:16Z")

</div>

Closed on May 10, 2022, 7:51pm UTC

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

[Previous page](https://community.thunkable.com/t/is-there-a-way-to-create-your-own-date-format/1673039.md?page=2)
