# Date initial content data type

**URL:** <https://forum.bubble.io/t/date-initial-content-data-type/14157>\
**Category:** Need help\
**Created:** [June 6, 2017, 2:45pm UTC](https://forum.bubble.io/t/date-initial-content-data-type/14157 "2017-06-06T14:45:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![asabti](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@asabti](https://forum.bubble.io/u/asabti)\
**Post date:** [June 6, 2017, 2:45pm UTC](https://forum.bubble.io/t/date-initial-content-data-type/14157/1 "2017-06-06T14:45:10Z")

</div>

This is such a noob question I feel embarrased…

In the ‘Initial content’ of the date picker, what is the format I need to have to have this be 01/01/2017 unless changes…

😕

I tried 1/01/2017 but I have a feeling that’s wrong… (of course it’s wrong it didn’t work)

Thanks

---

<div class="post-metadata">

**Author:** ![romanmg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/romanmg/32/237672_2.png) [@romanmg](https://forum.bubble.io/u/romanmg)\
**Post date:** [June 6, 2017, 4:20pm UTC](https://forum.bubble.io/t/date-initial-content-data-type/14157/2 "2017-06-06T16:20:45Z")

</div>

Your initial content should just be a date value. Formatting it converts it to text, which will then make it incompatible. So just keep that as a date value (like current date/time) and then **remove the style** to reveal the formatting options. See screenshot.

![](https://us1.discourse-cdn.com/bubble/original/2X/e/eb2d2f06f79db5accd9101c726e0a4d33db132be.png)

---

<div class="post-metadata">

**Author:** ![asabti](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@asabti](https://forum.bubble.io/u/asabti)\
**Post date:** [June 6, 2017, 6:44pm UTC](https://forum.bubble.io/t/date-initial-content-data-type/14157/3 "2017-06-06T18:44:00Z")

</div>

Thanks for the response. I still can’t set this date to 01/01/2017… I’m trying to find the delta between two dates, basically Current Date and 01/01/2017…

My thinking is to have a date picker with a default (initial content) value of 01/01/2017 and then just subtract Current Date/time - Date/Timepicker A: formatted blah blah

Is this possible?

---

<div class="post-metadata">

**Author:** ![asabti](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@asabti](https://forum.bubble.io/u/asabti)\
**Post date:** [June 6, 2017, 6:45pm UTC](https://forum.bubble.io/t/date-initial-content-data-type/14157/4 "2017-06-06T18:45:24Z")

</div>

I was kind of able to do it by setting an input to 01/01/2017 and then setting the initial content of the date/time picker to that field… it works but it’s not pretty

If there is a better way I’d love to hear it.

A

---

<div class="post-metadata">

**Author:** ![asabti](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@asabti](https://forum.bubble.io/u/asabti)\
**Post date:** [June 6, 2017, 6:58pm UTC](https://forum.bubble.io/t/date-initial-content-data-type/14157/5 "2017-06-06T18:58:18Z")

</div>

Okay I think I got it. I made an input field and saved the start date from the picker to a data thing. I then use this data thing whenever/where-ever I want. Thanks a lot for the help Gaby. Love the newsletters 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [August 15, 2017, 2:45pm UTC](https://forum.bubble.io/t/date-initial-content-data-type/14157/6 "2017-08-15T14:45:11Z")

</div>

Closed on August 15, 2017, 2:45pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
