Jump to content

how to display records that are less then 30 days old


elyasn

Recommended Posts

i am trying to  display records that are less then 30 days old.

 

i used DATE_SUB(CURDATE(),INTERVAL 30 DAY)  but poroblem with  date_ sub is it will show the futre dates too.

 

i want to be able to only dispaly dates for the past 30 days.

 

is there a way i can achive this with timstamp?

 

 

 

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.