sorgu mysql: damgası seçin

0 Cevap php

I want to SELECT all the rows from the table that correspond to a specific date. I have the timestamp stored in the pattern 2010-08-18 04:43:00. How can I query the table if I want to select all the rows that fall within a day's time?

Aklıma bir yolu, günün damgası olsun Unix zaman damgası dönüştürmek ve daha sonra sorgu tablo olduğunu. Ama bu işin bir sürü gibi geliyor. Daha kolay bir alternatif var mı?

Şimdiden teşekkürler ederim.

0 Cevap