# Utter format date/time

**URL:** <https://forum.rasa.com/t/utter-format-date-time/24003>\
**Category:** Rasa Open Source\
**Created:** [January 27, 2020, 10:10am UTC](https://forum.rasa.com/t/utter-format-date-time/24003 "2020-01-27T10:10:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![spotlight2001](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/spotlight2001/32/12444_2.png) [@spotlight2001](https://forum.rasa.com/u/spotlight2001)\
**Post date:** [January 27, 2020, 10:10am UTC](https://forum.rasa.com/t/utter-format-date-time/24003/1 "2020-01-27T10:10:34Z")

</div>

Hi, i am using duckling.

Can I format the {time} in the domain.yml something like {time:‘dd.mm.yyyy’}?

Or do I need to use an action?

Can you point me to some example code (github repo, …) where formatting is done?

---

<div class="post-metadata">

**Author:** ![mloubser](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mloubser/32/13021_2.png) [@mloubser](https://forum.rasa.com/u/mloubser)\
**Post date:** [January 27, 2020, 4:02pm UTC](https://forum.rasa.com/t/utter-format-date-time/24003/2 "2020-01-27T16:02:49Z")

</div>

Not in the domain, but see here [Duckling date (or time) only extraction](http://forum.rasa.com/t/duckling-date-or-time-only-extraction/289/4) for some ideas on extracting only date or time from a duckling entity in a custom action. Keep in mind the details on that post refer to older versions of rasa.
