# Initial Value for date input

**URL:** <https://community.weweb.io/t/initial-value-for-date-input/1873>\
**Category:** Tips and Hacks\
**Tags:** binding\
**Created:** [February 18, 2023, 3:27pm UTC](https://community.weweb.io/t/initial-value-for-date-input/1873 "2023-02-18T15:27:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebaspindu](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sebaspindu](https://community.weweb.io/u/sebaspindu)\
**Post date:** [February 18, 2023, 3:27pm UTC](https://community.weweb.io/t/initial-value-for-date-input/1873/1 "2023-02-18T15:27:29Z")

</div>

Hi There,

I’m having problems getting the initial value to work for date input, I tired the formula below  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/5/5949602bd5f7e91be712a4e0d5a38639dfe52405.png)

it shows the right date as the result but it doesn’t display

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/8/8b93755071b87a7edb3b08fb5006ab3264228617.png)

Appreciate any guidance or help

---

<div class="post-metadata">

**Author:** ![sebaspindu](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sebaspindu](https://community.weweb.io/u/sebaspindu)\
**Post date:** [February 18, 2023, 3:50pm UTC](https://community.weweb.io/t/initial-value-for-date-input/1873/2 "2023-02-18T15:50:38Z")

</div>

Quick update here I figured out you actually need to use “YYYY-MM-DD” for this work
