G
Guest
I have a SQL table that stores the UTC time for a column, I then want to
display the UTC time to the user in their local time.
My approach is to have the user set their time zone via their user profile.
Then to use that setting to convert the UTC date/time to the users local time.
I am using C# via ASP.Net. Any suggestions? I thought I had found
something using the CultureInfo class and Response.UserLanguages, however,
this always displays the same time regardless if I am on Eastern time or
Pacific time.
Any help would be greatly appreciated.
display the UTC time to the user in their local time.
My approach is to have the user set their time zone via their user profile.
Then to use that setting to convert the UTC date/time to the users local time.
I am using C# via ASP.Net. Any suggestions? I thought I had found
something using the CultureInfo class and Response.UserLanguages, however,
this always displays the same time regardless if I am on Eastern time or
Pacific time.
Any help would be greatly appreciated.