0

How to remove TIME on Epoch format in SQL Server?

Example: 2713795200000 should return Thu, 30 Dec 2055 00:00:00 instead of Thu, 30 Dec 2055 16:00:00 GMT.

Dobermaxx99
  • 318
  • 5
  • 16

1 Answers1

0

You can use below query for your problem. May be its helps you.

SELECT  DATEADD(DAY, (2713795200000)/(1000*60*60*24), '19700101')
Sandeep Kumar
  • 1,172
  • 1
  • 9
  • 22