//ms sql datetime 转unix时间戳
SELECT
DATEDIFF(s,
'19700101'
,GETDATE())
//ms sql unix时间戳 转datetime 涉及到时区问题
DATEADD(hh,8, DATEADD(s, 1309746570 ,
) )