99999久久久久久亚洲,欧美人与禽猛交狂配,高清日韩av在线影院,一个人在线高清免费观看,啦啦啦在线视频免费观看www

熱線電話:13121318867

登錄
2020-07-07 閱讀量: 1123
Hive 時間戳和日期相互轉(zhuǎn)換 from_unixtime和unix_timestamp

Hive 時間戳和日期相互轉(zhuǎn)換:from_unixtime和unix_timestamp

時間戳轉(zhuǎn)日期

select distinct from_unixtime(1441565203,‘yyyy/MM/dd HH:mm:ss’) from test_date;

日期轉(zhuǎn)時間戳

select distinct unix_timestamp(‘20111207 13:01:03’) from test_date; // 默認格式為“yyyy-MM-dd HH:mm:ss“

select distinct unix_timestamp(‘20111207 13:01:03’,‘yyyyMMdd HH:mm:ss’) from test_date;


0.0570
4
關注作者
收藏
評論(0)

發(fā)表評論

暫無數(shù)據(jù)
推薦帖子