I have a \'datetime\' column with value 2013-03-22 15:19:02.000
I need to convert this value into epoch time and store it in a \'bigint\' field
The actual e
Use below code to get human readable date from epoch time
select DATEADD(s,convert(bigint,@date)/2, DATEADD(s, convert(bigint,@date)/2, '1970-01-01 00:00:00'))