Showing posts with label utctime. Show all posts
Showing posts with label utctime. Show all posts

Saturday, April 28, 2012

SQL(Get Local DateTime)


--It means that +5 hours from Global UTC time

SELECT cast(dateadd(hour, 5, GETUTCDATE()) As Datetime)