# using DATE\_TIME\_FORMAT in settings

**URL:** <https://forum.djangoproject.com/t/using-date-time-format-in-settings/9913>\
**Category:** Using Django\
**Created:** [September 29, 2021, 5:36pm UTC](https://forum.djangoproject.com/t/using-date-time-format-in-settings/9913 "2021-09-29T17:36:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![piscvau](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/piscvau/32/5960_2.png) [@piscvau](https://forum.djangoproject.com/u/piscvau)\
**Post date:** [September 29, 2021, 5:36pm UTC](https://forum.djangoproject.com/t/using-date-time-format-in-settings/9913/1 "2021-09-29T17:36:34Z")

</div>

I cannot get the DATE\_TIME\_FORMAT in the settings to work. I carefully read the documentation here [Built-in template tags and filters | Django documentation | Django](https://docs.djangoproject.com/en/3.2/ref/templates/builtins/#std:templatefilter-date).  
However the format is not applied to my display.  
If I put the same format string in the template as a filter I get the expected format. If I do not put the format string in the filter, I get the default fomatting. the code is here.  
[settings and code in template](https://bpa.st/WHRA)

I cannot imagine this is bug so I missed somethin. But what?
