1👍
✅
It depends on the context. In a template you can use the date template tags:
<span>{{ my_date|date:"l, F j, Y" }}
or in Python context strftime:
my_date.strftime("%A, %B %W, %Y")
In case you just need the date (without time) you could consider using django’s models.DateField
instead of models.DateTimeField
Source:stackexchange.com