> Using the 'date' filter, you can format the output however you want, > within templates. > > For example, to format a date as "September 17, 2006", you would do > the following in a template: > > {{ object.pub_date|date:"F d, Y" }}
thanks for reply, but will it work on forms? Right now I get: 'FormFieldWrapper' object has no attribute 'day' and mark on line {{form.registrationDate|date:"d.m.Y"}} Viestards > Jay P. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---