SELECT DATEADD(s, 1369120631, '1970-01-01 00:00:00')SELECT DATEDIFF(s, '19700101','2013-05-21 07:17:11')