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.
我正在从数据库创建报告,我必须从数据库中选择 Created date with time,但在我的数据库中,TIME AND DATE与实际创建的时间不同。它比实际创建时间多 5 小时。
如何选择负 5 小时的字段。?
谢谢
你可以这样做:
SELECT `field` - INTERVAL 5 HOUR FROM `your_table`