Tuesday, September 15, 2020

Re: Change Date Formate

Thanks guys you code 100% work

On Tue, Sep 15, 2020 at 6:52 PM Niraj Panchasara <nirajngajjar@gmail.com> wrote:
Y for yyyy
m for mm
d for dd

as per you needed, try this out in html with django template code

{{you_date_field|date:'d/m/Y'}}


On Tuesday, September 15, 2020 at 4:29:41 PM UTC+5:30 mailto...@gmail.com wrote:
{{you_date_field|date:'Y-m-d'}}

On Tue, Sep 15, 2020 at 3:52 PM kkwaq...@gmail.com <kkwaq...@gmail.com> wrote:
How to change date format in django (yyyymmdd to ddmmyyyy)  

p.jpg
p1.jpg
how to change like this dd/mm/yyyy

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fd9f1b17-cc30-43f9-9855-c7c5f68e7800n%40googlegroups.com.


--
Thanks & Regards 
  
Regards, 
Danish

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/858d0719-4268-472e-b7c7-735c9bdc5f91n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B08CAOaumqqw6NRy2-gto5%3D01DT7RFaD_kTN0_Avc97Cc%2BT5g%40mail.gmail.com.

No comments:

Post a Comment