Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dealing with UTC offset time zones
Message
From
24/08/2011 15:22:26
John Baird
Coatesville, Pennsylvania, United States
 
 
To
24/08/2011 14:28:44
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01521711
Message ID:
01521713
Views:
49
>On a specific Web Service, I need to send a datetime value in respect to the UTC offset time zones. This goes like this:
>
>2011-08-23T17:05:04.859-17:05
>
>But, the problem is the last part. The 17 should be between 0 and 12. If this is Montreal time, what is the proper formula to convert 17 to its proper hour UTC offset equivalent?

I believe the Datetime class has a ToUniversalTime extension method.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform