Wednesday 31 July 2013

convert datetime to utc in c#

Use This

DateTime dtUTC = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);

No comments:

Post a Comment