Jump to content

Query


sandy1028

Recommended Posts

hi,

 

For today's timestamp.

Suppose the timestamp is 2007-10-22 12:30:02

select the data till 2007-10-22 12:30:02 from 2007-10-22 00:00:01.

And make the values from 2007-10-22 12:30:02 to 2007-10-22 23:50:02 initialse to 0

So you want to select data from NOW until today at midnight.  I get that part... but not the next part.

Link to comment
https://forums.phpfreaks.com/topic/73784-query/#findComment-375454
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.