MySql数据库怎样把Long时间与日期相互转换

2025-04-25 14:18:40
推荐回答(3个)
回答1:

select unix_timestamp("2009-09-15 00:00:00");
select from_unixtime(1252944000);

回答2:

select FROM_UNIXTIME(1156219870)

回答3:

强制转换?