This is probably more of a python question, but here goes. I want to compare today's date to the users' birthdays and build a list of birthdays. I have the birthdays in the db, properly formatted, and have a template tag with this:
today = datetime.date.today() context[self.varname] = GpUser.objects.filter(birthday=today) The problem is, that will never evaluate to true, because I still have today's year. So, how does one throw out the year and just compare month and day? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---