Jump to content

Select previous day timestamp


jtelo

Recommended Posts

I am no expert but as the time stamp in a number of units sine inception I would have thought using now() and minus the figure for 24 hours would do the job ??

 

Just a thought

Topshed

 

With this i get all the rows of the previous days, but can't make it return only one day:

SELECT * FROM table WHERE date<NOW()

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.