hejdig.
Ge information about the client's (IE's) time through javascript and insert
this into a hidden field.
Look at this field by the next posting to find out whatever you need.
Normally time is incremented/decremented in whole hours and by comparing the
server's time and hope the client's clock is adjusted you could find out the
time zone. (If this is what you are looking for)
If there is any other way to find out the TZ for the client through
javascript please look into
http://javascript.faqts.com/ . You could for
instance find the difference between the UTC and the local time through
javascript.
For setting different timezones client/server on the same machine. The
easiest way would be to borrow a machine from someone - anything that runs
your browsers would do. A slightly more expensive (time wise) solution
would be to install a virtual pc on the same machine.
Or use WMWares solutions where you run a Linux OS in a virtual machine. You
can still play around with the timezone just as easy.
HTH
/OF
"David Thielen" wrote
When I get a request how can I get the user's local DateTime? I can get
ultureInfo.CurrentUICulture.Calendar for a calendar but I don't see any
way
to turn that in to a DateTime (although you would think that would be
possible).
Also, is there any way to set IE to have a different timezone than my
system
to test this on my system (so IE is set to pacific time but my "server" is
on
mountain time)?