Jump to content

sql to only select records for today?


tibberous

Recommended Posts

I am trying to select on the records for today. I have a date/time stored in the database, and am using mydata=curdate() in the where clause, but it isn't working, I think because curdate() is the current date, but my value is the current date + the current time. Does anyone know how to do this?

Link to comment
https://forums.phpfreaks.com/topic/87749-sql-to-only-select-records-for-today/
Share on other sites

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.