Re: Checking a birthday using datetime

2006-06-19 Thread [EMAIL PROTECTED]
Yup, that works a treat Thanks James!!! --~--~-~--~~~---~--~~ 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, se

Re: Checking a birthday using datetime

2006-06-19 Thread James Bennett
On 6/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > However, this only works if the Member was actually born on this exact > date (including year)... how can I filter so that it ignores the year > and just looks at the day and month part of their birth_date?? d = datetime.date.today() memb

Checking a birthday using datetime

2006-06-19 Thread [EMAIL PROTECTED]
Hi all, I'm relatively new to Django, so bear with me... I'm building an app for a band website that lists details about the band members. I thought it'd be nice to have a Happy Birthday message display if today was a members birthday and have built an array like so: members_born_today = Member.