I do not think it is possible get this information based on e.g. CultureInfo.
Then I see only two alternatives to solve this (without using javascripts).
1. Ask the user to save/choose their timezone in +/- hours or by "timezone
name" ("Mountain Daylight Time", "Mountain Standard Time", "Canberra,
Melborne, Sydney", etc.), or by abbreviations see:
(
http://www.worldtimezone.com/wtz-nam...onenames.html). But this is not
a good solution for the user...
2. Write a few server side code lines that sends the web users IP address to
http://www.showmyip.com/simple/?ip=<the ip address here>&get=timezone or
another site that locates the location and timezone of a IP address.
Unfortunately you have to subscribe for the service at
www.showmyip.com, but
there may be a free service available also.
--
Bent Kristiansen
bent.kristiansen(AT)bekk.no
"rgrandidier" wrote:
If it was technically possible without the user being able to turn off the
code I would like to get it from the user's environment (the less the user
has to do the better), however, if not possible then I will have the user set
up their profile to tell me what their time zone is.
After I figured out this issue, I still need to figure out daylight savings
time issues throughout the world in order to display the time appropriately.
--
Robert