Jump to content

MySQL query returning all entires within the last 30 days...


cgm225

Recommended Posts

I have a MySQL table with entries/rows with a TIMESTAMP column that contains date and time information in the following format, for example: 2008-03-16 22:27:03

 

I want to create a MySQL query that will return all entries with a timestamp from within the last thirty days.

 

Any ideas?

 

Thank you all in advance!

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.