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)

No comments:

Post a Comment