my question is about javascript :)
I know about PHP
Main Topics
Browse All TopicsMy location is GMT + 2.
I would like to display the time of my location from everywhere depending on local country time.
If you live in Japan and come to the website you should see the GMT+2 time
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Ups... my bad...
you can try this:
Here is the Code:
<head>
<script language="JavaScript">
// function to calculate local time
// in a different city
// given the city's UTC offset
function calcTime(city, offset) {
// create Date object for current location
d = new Date();
// convert to msec
// add local time zone offset
// get UTC time in msec
utc = d.getTime() + (d.getTimezoneOffset() * 60000);
// create new Date object for different city
// using supplied offset
nd = new Date(utc + (3600000*offset));
// return time as a string
return "The local time in " + city + " is " + nd.toLocaleString();
}
// get Bombay time
alert(calcTime('Bombay', '+5.5'));
// get Singapore time
alert(calcTime('Singapore'
// get London time
alert(calcTime('London', '+1'));
</script>
</head>
<body>
</body>
</html>
Here's some sample output from the script in Listing A:
The local time in Bombay is Monday, August 01, 2005 4:43:51 PM
The local time in Singapore is Monday, August 01, 2005 7:13:51 PM
The local time in London is Monday, August 01, 2005 12:13:51 PM
Hopefully, this script will save you some time the next time you sit down to code time zone calculations in your Web pages. Enjoy!
from: http://articles.techrepubl
Sorry for php once again =)
Business Accounts
Answer for Membership
by: ljubiccicaPosted on 2008-09-16 at 04:50:31ID: 22487295
Hey there!
u/program/ php/soa/Ge t-the-corr ect- time-b y-converti ng-between -time-zone s-with-PHP -and-PEAR/ 0,33902844 8,33927380 6,00.htm
See this tutorial:
http://www.builderau.com.a
Greatings,
ljubiccica