Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dealing with UTC offset time zones
Message
From
25/08/2011 04:18:07
 
 
To
24/08/2011 16:50:00
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:
01521737
Views:
23
>>OK. Still don't understand what 2011-08-23T17:05:04.859-17:05 actually represents tho. -17:00 I could understand, but -17:05 ?
>
>This was before it wasn't good. That was a bad layout.
>
>The proper representation is:
>
>2011-08-23T17:05:04.859-05:05
>
>So, I had to adjust accordingly to that.

OK. Not important but I still do not understand that format. If the last part is intended to represent an offset why the five minutes? If not an offset then what part does it play? A .NET DateTimeOffset of similar structure will obviously give weird results:
DateTimeOffset dto = new DateTimeOffset(new DateTime(2011,8,23,17,05,04), new TimeSpan(5,5,0));
See dto.DateTime v. dto.LocalDateTime
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform