Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Converting UNIX time stamp to local time using T- SQL

$
0
0

Hi All,

I am getting DateTime in UTC time (UTC time (Coordinated Universal Time or Greenwich Mean Time))  using (datediff(ss, '1/1/1970', current_timestamp)) . I want to Convert this in my Local DateTime (CST DateTime). How to achieve this in simple way in T-SQL.

thanks,

Venkat


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>