473,412 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

major cities time javascript

Hi,

I need javascript which show users time and show major cities time as well. Example webpage: https://www.forexinvestorclub.com/index.php

The website using GMT as the local time. In my version, I would like it showing any users time (probably taken from their pc time) plus correct major cities time as well.

Hope for help. Thanks in advance.
Feb 27 '07 #1
1 1551
acoder
16,027 Expert Mod 8TB
Use Date() to get the current user time using the Javascript methods for time, e.g. see this page.

In particular, the getTimezoneOffset() method will be useful.
Feb 28 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Kenneth | last post by:
Hello, I'm having some serious problems debugging a script that I'm trying to make work. I'm working on a form where a user can type in a time (in the format of HH:MM), and another script...
0
by: Oliver Elphick | last post by:
The attached proposal is written primarily for Debian. Its motivation is that the current package upgrade process is pretty flaky and also that the current packaging does not really provide for...
6
by: Chuck | last post by:
Blackridge VA and La Crosse VA share a common ZIP code, 23950. I would like to make a small table of ZIP codes, Cities, and States to only include the ZIP codes for members of a small club. The...
0
by: bhavik | last post by:
Is there a database in .Net which lists all countries, cities, addresses, etc. (first browse and select from avavilable countries, then once specified, all available cities in this country can be...
3
by: bhavik | last post by:
Is there a database in .Net which lists all countries, cities, addresses, etc. (first browse and select from avavilable countries, then once specified, all available cities in this country can be...
7
by: David Freeman | last post by:
Hi There! I'm trying to create a User Registration page in ASP.NET and wondering what is the best way to get the list of up-to-date Countries and Cities? Are there any Web Services on the web...
2
by: Brendon Bezuidenhout | last post by:
All, Real daft one here - Does anyone know where I can find a list of all countries, areas and cities to populate into Combo Boxes on a web form possibly? Thanks in advance Brendon
20
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
2
by: chandm | last post by:
i have one registration form in that registration state and city dropdownlists are there. when select Andhrapredesh in state(dropdownlist) then the related cities will be displayed in...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.