.Net Goodies
Code snippets and technology news that come across my daily life.
Monday, June 29, 2009
Convert time from one timezone to another in .Net
DateTime dlocal = DateTime.Now;
DateTime dNonLocal = TimeZoneInfo.ConvertTime(dlocal, TimeZoneInfo.FindSystemTimeZoneById("US Mountain Standard Time"));
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment