PDA

View Full Version : time hack


07-26-2000, 08:03 PM
Hello,
I have seen Time hacks but I can not find it.

It is a pulldown with all the Worlds time codes and it updates and puts everything in the time zone that you wanted.

Much better and simplier than the -1 time thing.
YOu wouldn't have to figure GMT or whatever.

I saw this somewhere, also the current world times of ten or so cities.

Does anyone have these time hacks.
Little modifications, I know but it will save some time.

thanks.

07-27-2000, 05:57 PM
OK,
found where I saw it.

At 10tenths, a great vboard by the way.

When you register you get a pulldown time.

I would like this plus a display of the time in five or ten world locations on the front.

I have seen that on the UBB.

Neither should be a big problem to whip up but I know very little on how to involve with the vboard function to change the times to show current time.

Plus, I do not know all the GMT times zone and how to implement.

This would look great.

Craig?

thanks.

07-28-2000, 02:45 AM
that was one of the first suggestions I had. I'm going to look at this, should be pretty easy, just getting a good drop-down list will be the main problem. Also, you have to take in account the time zone the server is in. But you could use gmt()...

07-28-2000, 04:23 AM
There is already code to do this. Just search on "tijuana" and I am sure you will find it ;)

07-28-2000, 11:30 AM
Here it is, I posted it a while ago. But I'm waiting for a real inbuilt tinme function.

<SELECT NAME="timezoneoffset">
<OPTION value="-7">(GMT -12:00) Eniwetok, Kwajelein
<OPTION value="-6" >(GMT -11:00) Midway Island, Samoa
<OPTION value="-5" >(GMT -10:00) Hawaii (Lucky You!!)
<OPTION value="-4" >(GMT -09:00) Alaska (Brrr..Cold)
<OPTION value="-3" >(GMT -08:00) Pacific Time (US &amp; Canada), Tijuana
<OPTION value="-2" >(GMT -07:00) Mountain Time (US &amp; Canada)
<OPTION value="-1" >(GMT -06:00) Central Time (US &amp; Canada)
<OPTION value="0" selected>(GMT -05:00) Eastern Time (US &amp; Canada)
<OPTION value="+1" >(GMT -04:00) Atlantic Time (Canada Only)
<OPTION value="+2" >(GMT -03:00) Brasilia, Buenos Aries
<OPTION value="+3" >(GMT -02:00) Mid Atlantic (See land yet?)
<OPTION value="+4" >(GMT -01:00) Azores, Carpe Verdes Island
<option value="+5">(GMT 00:00) Greenwich Mean Time: Dublin, London
<option value="+6">(GMT +01:00) Belgrade, Prague, Brussels, Paris
<option value="+7">(GMT +02:00) Athens, Istanbul, Cairo, Israel
<option value="+8">(GMT +03:00) Moscow, St Petersburg, Kuwait
<option value="+9">(GMT +04:00) Baku, Tblisi
<option value="+10">(GMT +05:00) Ekaterinburg, Islamabad, Karachi
<option value="+11">(GMT +06:00) Almaty, Colombo, Dhaka
<option value="+12">(GMT +07:00) Bangkok, Hanoi, Jakarta
<option value="+13">(GMT +08:00) Beijing, Singapore, Hong Kong, Taipei
<option value="+14">(GMT +09:00) Yakutsk (wherever the hell that is)
<option value="+15">(GMT +10:00) Brisbane, Canberra, Sydney
<option value="+16">(GMT +11:00) Magadan, Solomon Islands
<option value="+17">(GMT +12:00) Auckland, Wellington, Fiji
</SELECT>