php - Query Database for a specific Month of birthdays -


i trying query against database have contacts have birthdays in date format such (1980-03-13) (year-month-date). query database birthdays within (03) month. how possible?

if shed light appreciated.

ps. using php queries mysql.

update: mysql table contacts has (dob field) format = (date).

select * table month(column) = 3 

if string

select * table     month(cast(column datetime)) = 3 

Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -