#獲取當前時間戳
select unix_timestamp()
#獲取指定時間的時間戳
select unix_timestamp('1970-01-01 22:10:10')
#獲取當前日期
select from_unixtime()
#獲取當前時間戳
select unix_timestamp()
#獲取指定時間的時間戳
select unix_timestamp('1970-01-01 22:10:10')
#獲取當前日期
select from_unixtime()