FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Get day and month part from date
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Get day and month part from date [message #174731] Thu, 30 June 2011 08:21 Go to previous message
Co is currently offline  Co
Messages: 75
Registered: May 2011
Karma:
Member
Hi All,

I would like to retrieve people's birthday from the database.
But only those who celebrate the coming week.

SELECT * FROM members WHERE birthday BETWEEN $today AND $today+7


The birthday field holds also the year but I just need day and month.
Is there a way to do this?

Marco
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: barcode reader integration in web application
Next Topic: show events in calendar
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 15:21:35 GMT 2024

Total time taken to generate the page: 0.04001 seconds