sql:
select id,addtime,FROM_UNIXTIME(addtime,'%Y-%m-%d') from xx_table;
其中如果不写'%Y-%m-%d',则会获取时分秒
sql:
select id,addtime,FROM_UNIXTIME(addtime,'%Y-%m-%d') from xx_table;
其中如果不写'%Y-%m-%d',则会获取时分秒
Google Chrome
Windows 10
Google Chrome
Windows 10
Google Chrome
Windows 10
Google Chrome
Windows 10