Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dealing with UTC offset time zones
Message
De
24/08/2011 16:07:52
 
 
À
24/08/2011 14:28:44
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01521711
Message ID:
01521718
Vues:
43
>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?

Do you mean that the web service requires a date passed in the above format. If the last part is intended to convey the offset then how come it's 17:05 - I'm not aware of a timezone that is different by a factor of minutes....

Would the DateTimeOffset structure (rather than DateTime) work ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform