Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,我(2013-06-03 22:00:00)存储在一个名为Log.
(2013-06-03 22:00:00)
Log
我希望更新后的输出类似于 (2013-06-03 07:30:00),只修改小时、分钟和秒。
我怎样才能只更新时间?
PHP版本是5.3
在 mysql 中:
update your_table set your_field=concat(date(your_field),' 07:30:00');