Posted by gerg on 12/18/05 08:21
I'm trying to create a site for my family and one of the features is
going to be a "birthday" reminder of upcoming birthdays. I'm having
each member register and in doing so enter their birthday in the
following format:
04-21-1983 or 11-23-1976
What I want to do is write a script that will check the database from
the current date, and then go out 30 days to check and see if any
birthdays lie in that range. I guess I'm just not sure what my query
should look like.
So, taking today for instance, it's the 17th of Dec. I want to find out
if there are any birthdays between the 17th of Dec and the 16th of Jan.
Can anyone help me out with this?
Thanks in advance.
Greg
[Back to original message]
|