# Date picker output problem

**URL:** <https://forum.getkirby.com/t/date-picker-output-problem/7342>\
**Category:** Questions\
**Tags:** v2\
**Created:** [April 27, 2017, 6:03pm UTC](https://forum.getkirby.com/t/date-picker-output-problem/7342 "2017-04-27T18:03:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmoeller](https://avatars.discourse-cdn.com/v4/letter/d/d26b3c/32.png) [@dmoeller](https://forum.getkirby.com/u/dmoeller)\
**Post date:** [April 27, 2017, 6:03pm UTC](https://forum.getkirby.com/t/date-picker-output-problem/7342/1 "2017-04-27T18:03:41Z")

</div>

I configured the date picker in the blueprint as DD.MM.YYYY in that order and with points.

But the output on the front end is YYYY-MM-DD in wrong order and with dashes.

What’s wrong ?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [April 27, 2017, 6:05pm UTC](https://forum.getkirby.com/t/date-picker-output-problem/7342/2 "2017-04-27T18:05:56Z")

</div>

You can define a format when rendering the date on the frontend like this:

```auto
<?= $page->date('d.m.Y'); ?>

```

The blueprint setting is only relevant for showing the date in the Panel.

---

<div class="post-metadata">

**Author:** ![dmoeller](https://avatars.discourse-cdn.com/v4/letter/d/d26b3c/32.png) [@dmoeller](https://forum.getkirby.com/u/dmoeller)\
**Post date:** [April 27, 2017, 6:25pm UTC](https://forum.getkirby.com/t/date-picker-output-problem/7342/3 "2017-04-27T18:25:45Z")

</div>

That dows not work.

I choosed \<?= $page-\>datum('d.m.Y'); ?\> because “datum” is the name.

Now on the Frontend the output is still 2017-04-27

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [April 27, 2017, 6:32pm UTC](https://forum.getkirby.com/t/date-picker-output-problem/7342/4 "2017-04-27T18:32:29Z")

</div>

Ok, but the date field is special, so it is easier when a date field is called date. You can do this, though:

```auto
<?= $page->date('d.m.Y', 'datum'); ?>

```

---

<div class="post-metadata">

**Author:** ![dmoeller](https://avatars.discourse-cdn.com/v4/letter/d/d26b3c/32.png) [@dmoeller](https://forum.getkirby.com/u/dmoeller)\
**Post date:** [April 27, 2017, 7:00pm UTC](https://forum.getkirby.com/t/date-picker-output-problem/7342/5 "2017-04-27T19:00:41Z")

</div>

Thank you. I renamed the field from Datum to date and had to change that word in all the txt files because data migration was alredy done. Now it works fine and the date is shown correctly.

🙂

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 4:50pm UTC](https://forum.getkirby.com/t/date-picker-output-problem/7342/6 "2025-02-06T16:50:05Z")

</div>


