>>Hey Tim,
>>
>>We've run into this issue too when the server is in a different time zone than the client workstation ... so far, this isn't likely to happen for our customers and so we haven't addressed the issue yet, but we certainly need to. I haven't had the time to sit down and brainstorm as to what our solution will be yet though, so I'll be interested in what you come up with.
>>
>>~~Bonnie
>>
>
>Hi Bonnie, At this point I have no resolution only because I can't get the time to display in my web grid view. We upload the records from a moving vehicle that could be from a number of different organizations around the US. The organization then views the data on the website and only needs to see this in the timezone it was created in. This is why I didn't initially care about saving it in UTC. Unfortunately the time is being saved in Central time the same as the hosting server. I fail to understand why or how to change that. I decided to save in UTC which is really easy; and to have a setting for the organization that indicated which timezone preference. so far I am unable to get the web GridView to display this back as a corrected time.
>Tim
I found the problem with trying to display the corrected time in my GridView. I was using an EditItemTemplate per the example I had and when I changed it to an ItemTemplate it worked. I just didn't notice that mistake.
Now I am trying to localize the data. It looks like TimeZone is no longer recommended and we should use TimeZoneInfo class instead. This has a method of getting the timezone from a serialized file. Does anyone have a timezone.xml file that contains all the US timezones in it? I am almost there.
Tim
Timothy Bryan