Jump to content

how to get current month in mysql


t_machine

Recommended Posts

Thanks for the reply.. I actually want to display results that are within the current month

 

example

 

Select * FROM table_name WHERE date="THIS MONTH"...

 

What can I replace THIS MONTH with to get the results for the current month

 

Thanks for any replies :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.