Monday, May 9, 2011

Format a python date

Hi all,

I am using a jquery datepicker control on a page of mine, and it formats the date different than the django admin datepicker. (MM-DD-YYY).

If I have a date in that format, how can I format it to DD-MM-YYYY? I have tried using strftime with no success.

--
Regards,
Sithembewena Lloyd Dube

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate