Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Daylight Saving?

Status
Not open for further replies.

stoggers

Vendor
May 30, 2001
93
US
Hi,

Is there a means of determining if the client has daylight saving switched on and adjusting the time that is returned?

Regards,

Mike.
 
I did some looking around and could find nothing on the matter, I think a soulution to this COULD be to have a combo box with the different time zones then go from there by just updating there time from the server using DateAdd function. There maybe another way but this is what I figured out right now..

<select name=&quot;timezone&quot;>
<option value=&quot;-12&quot; >(GMT -12:00 hours) Eniwetok, Kwajalein</option>
<option value=&quot;-11&quot; >(GMT -11:00 hours) Midway Island, Samoa</option>
<option value=&quot;-10&quot; >(GMT -10:00 hours) Hawaii</option>
<option value=&quot;-9&quot; >(GMT -9:00 hours) Alaska</option>
<option value=&quot;-8&quot; selected>(GMT -8:00 hours) Pacific Time (US & Canada)</option>
<option value=&quot;-7&quot; >(GMT -7:00 hours) Mountain Time (US & Canada)</option>
<option value=&quot;-6&quot; >(GMT -6:00 hours) Central Time (US & Canada), Mexico City</option>
<option value=&quot;-5&quot; >(GMT -5:00 hours) Eastern Time (US & Canada), Bogota, Lima, Quito</option>
<option value=&quot;-4&quot; >(GMT -4:00 hours) Atlantic Time (Canada), Caracas, La Paz</option>
<option value=&quot;-3.5&quot; >(GMT -3:30 hours) Newfoundland</option>
<option value=&quot;-3&quot; >(GMT -3:00 hours) Brazil, Buenos Aires, Georgetown</option>
<option value=&quot;-2&quot; >(GMT -2:00 hours) Mid-Atlantic</option>
<option value=&quot;-1&quot; >(GMT -1:00 hours) Azores, Cape Verde Islands</option>
<option value=&quot;0&quot; >(GMT) Western Europe Time, London, Lisbon, Casablanca, Monrovia</option>
<option value=&quot;+1&quot; >(GMT +1:00 hours) CET(Central Europe Time), Brussels, Copenhagen, Madrid, Paris</option>
<option value=&quot;+2&quot; >(GMT +2:00 hours) EET(Eastern Europe Time), Kaliningrad, South Africa</option>
<option value=&quot;+3&quot; >(GMT +3:00 hours) Baghdad, Kuwait, Riyadh, Moscow, St. Petersburg, Volgograd, Nairobi</option>
<option value=&quot;+3.5&quot; >(GMT +3:30 hours) Tehran</option>
<option value=&quot;+4&quot; >(GMT +4:00 hours) Abu Dhabi, Muscat, Baku, Tbilisi</option>
<option value=&quot;+4.5&quot; >(GMT +4:30 hours) Kabul</option>
<option value=&quot;+5&quot; >(GMT +5:00 hours) Ekaterinburg, Islamabad, Karachi, Tashkent</option>
<option value=&quot;+5.5&quot; >(GMT +5:30 hours) Bombay, Calcutta, Madras, New Delhi</option>
<option value=&quot;+6&quot; >(GMT +6:00 hours) Almaty, Dhaka, Colombo</option>
<option value=&quot;+7&quot; >(GMT +7:00 hours) Bangkok, Hanoi, Jakarta</option>
<option value=&quot;+8&quot; >(GMT +8:00 hours) Beijing, Perth, Singapore, Hong Kong, Chongqing, Urumqi, Taipei</option>
<option value=&quot;+9&quot; >(GMT +9:00 hours) Tokyo, Seoul, Osaka, Sapporo, Yakutsk</option>
<option value=&quot;+9.5&quot; >(GMT +9:30 hours) Adelaide, Darwin</option>
<option value=&quot;+10&quot; >(GMT +10:00 hours) EAST(East Australian Standard), Guam, Papua New Guinea, Vladivostok</option>
<option value=&quot;+11&quot; >(GMT +11:00 hours) Magadan, Solomon Islands, New Caledonia</option>
<option value=&quot;+12&quot; >(GMT +12:00 hours) Auckland, Wellington, Fiji, Kamchatka, Marshall Island</option>
</select>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top