Re: Change Date Formate

2020-09-15 Thread waqar khan
Thanks guys you code 100% work On Tue, Sep 15, 2020 at 6:52 PM Niraj Panchasara wrote: > Y for > 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..

Re: Change Date Formate

2020-09-15 Thread Niraj Panchasara
Hi in your html file try to set like below {your_date_reference | date: "Y-m-d" } Thanks On Tuesday, September 15, 2020 at 3:51:42 PM UTC+5:30 kkwaq...@gmail.com wrote: > How to change date format in django (mmdd to ddmm) > > [image: p.jpg] > [image: p1.jpg] > how to change like this

Re: Change Date Formate

2020-09-15 Thread Niraj Panchasara
Y for 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...@gma

Re: Change Date Formate

2020-09-15 Thread Mohammad Ahshan Danish
{{you_date_field|date:'Y-m-d'}} On Tue, Sep 15, 2020 at 3:52 PM kkwaq...@gmail.com wrote: > How to change date format in django (mmdd to ddmm) > > [image: p.jpg] > [image: p1.jpg] > how to change like this dd/mm/ > > -- > You received this message because you are subscribed to the G

Change Date Formate

2020-09-15 Thread kkwaq...@gmail.com
How to change date format in django (mmdd to ddmm) [image: p.jpg] [image: p1.jpg] how to change like this dd/mm/ -- 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, sen