html >> Wotrld Time Zones

by fungusbogus » Fri, 09 Dec 2005 09:38:58 GMT

Hi folks.
I want to build a web page which contains a map that will display the (global)
location of where each family member / school / office etc is located.
The idea is that when someone clicks/hovers their mouse over the hotspot, then
an image and/or data sheet is displayed, along with the current time at that
location.

I have seen the tutorial to display the analogue clock which returns the time
of the web server, but have not been able to figure out how to get the clock to
adjust the time, depending on the location that is clicked.

If you can help, I would really appreciate it.



html >> Wotrld Time Zones

by boy mackman » Thu, 22 Dec 2005 19:05:30 GMT


To show different time zones does depend on what your webserver is and what
coding you are using.

One way os to get the current server time and then add or subtract hours from
it to give you the time you require.

Hope this helps.




Similar Threads

1. Time zone and 24 hours time format

Hi,

What time zones tend to use 24 hours time format?  Googling hasn't
been able to answer the question.

Thank you.

2. using time zones in ASP - ASP

3. Time Zone Conversion

Hi,
Is there an asp component anywhere which will convert a GMT time in the past
to a different time zone e.g. EST?
You can't just take the hours off as there is often daylight saving hours to
take into consideration.

Thanks
JJ


4. Determining Client's Time Zone - ASP

5. Time Zone Problem

Hi All, I know this is probably simple, but I'll ask anyway.
I have a form which when submitted to the database the field in the database
automatically adds date and time which is fine. My only problem is that my
site is for the GMT  UK time zone, but the database resides on a American
server, IE the database records the local American time (-5 hours 
difference)
and not the time of the users using it in the UK.

Is there anyway to round this?


6. Clickable time zone map on a web page

7. Changing the default time zone of a current timestamp in MySQL

I have a shared host which uses the time zone MST (GMT-7), and I cannot change 
the time zone for my own database using the 'SET TIME_ZONE' command.

 I want to have all timestamps be in GMT-0, and I figured the best way to do 
this is to use the CONVERT_TZ function.

 I tried setting the default value of a timestamp field in a table to 
CONVERT_TZ(CURRENT_TIMESTAMP,'-07:00','+00:00')

 Why am I getting this error?




 Error
  
 SQL query:
  
 ALTER TABLE `logins` CHANGE `TIMESTAMP` `TIMESTAMP` TIMESTAMP NOT NULL DEFAULT 
'CONVERT_TZ(CURRENT_TIMESTAMP,''-07:00'',''+00:00'')'
  
 MySQL said: Documentation
 #1067 - Invalid default value for 'timestamp'

8. Changing time zone - Adobe Dreamweaver