Compare access db birthday date field with date

  • Thread starter Thread starter CZ
  • Start date Start date
C

CZ

Hello,

I have a list of employees with their birhtdays. I would like to to
have a datagrid list employees with birthdays on the current month on a
web page.

I tried

select * from tbldate where month(bdate) = month(date())

but it does not work.

can you guys please help me?

Thanks
 
Hi CZ,

I guess it should be month(now())?

Regards,
Jack Li
MVP (ASP.NET)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top