반응형

declare @regdate = 1069807106
DATEADD(hh, 9, DATEADD(s, @regdate, '1970-01-01'))

유닉스타임을 timestamp로 .(mssql에선 datetime이지..)
반응형

+ Recent posts