Click here to Skip to main content
16,016,288 members
Articles / Database Development / SQL Server

Formatting Local Datetime to UTC in SQL Server

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
17 Jul 2012CPOL 29K   1  
This article intends to describe a simple and elegant way of converting local datetime to UTC and store it in DB.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
India India
I have more than 5 yrs of work ex as a software developer for a Financial Consulting firm and an Investment bank. My technical expertise include C# programming,WPF,WCF, SSRS reporting,ASP.Net and MS SQL (2005 & 2008).

Comments and Discussions