how to use now() in a where clause mysql I had a table which had a timestamp on it, I only wanted to return records
that were dated today, regardless of time, however it was date and time stamped so needed to
find a way to shorten the now() and my timestamp column
This is what i came up with:
select timestamp from table where
left(timestamp,10)=left(now(),10);
Worked a treat


Trending right now
Keep flies off your food this summer How to save searches in ebay Enable the hidden admin on windows 10 Twitter friends diet tips Learn Spanish as it is spoken quickly and easily. How to flip rotate an image using css I will bid on your ebay items to increase the price Forty five great places to leave your advertising material that will actually get read How to make first letter only captial using php. Why Ditching the News Could Transform Your Mental Health How to get more customers How to make text wrap in html table How to sell your stuff online and for free Encouraging Messages from God Beat the bailiffs We will write to any debt collectors and get them to stop harassing you no matter who they represent How to open a jar easily without strain How to stop people stealing your downloads when using paypal Contrails or chemtrails Heal arthritis with this super simple method. You probably have some of this in your cupboard Why Speedy Lead Calls Skyrocket Your Success Drop down list of towns and cities in England What to say when someone asks where is your mask How to stop text enhance pop ups showing on webpages. You own nothing Am I an antivaxer Read Yourself Slim Ebook If Your Friends Jumped Off a Bridge Would You How to potty train a child in 3 days Hide How to identify hot selling products on Ebay Where would a two year old hide a passport.. How to cure an ear infection without antibiotics How to cure earache quickly and easily Why Creating Value Beats Chasing Money Every Time Remove a tomato stain from clothes easily Back magic instructions How to return only part of a feild from database using php substr but to take into account spaces
|