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..
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
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
{{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
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
5 matches
Mail list logo