> A date anyone, how to get the number of the day that corresponds from which starting point? day of the year? day of the week? day of the month?
Reading up on Python's strftime() method of datetime objects [1] may point you at what you need. Small caveat regarding current breakage for dates earlier than 1900 (though I've heard rumblings about implementing a much needed/wanted unbreakification hack...yay!) -tim [1] http://docs.python.org/lib/module-time.html --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---