Set given time to 00:00:00 in PHP/MySQL
Posted
by hypnocode
on Stack Overflow
See other posts from Stack Overflow
or by hypnocode
Published on 2010-04-02T05:42:17Z
Indexed on
2010/04/02
5:53 UTC
Read the original article
Hit count: 171
Hi, I'm retrieving a date from a MySQL database that shows up like this: '2010-03-09 09:11:30'
How can I change the date to '2010-03-09 00:00:00'? I'm using PHP to perform the query. Thanks!
© Stack Overflow or respective owner