473,418 Members | 2,368 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,418 software developers and data experts.

Netscape 7 Timezone question

LJL
Greetings:

I have a question regarding the system time and Netscape 7. I am running
Win98SE.

When Netscape 7 first loads it seems to store the currently set system time
zone information. If I change the time zone after Netscape 7 is loaded,
from Eastern time to Pacific time for example, it still uses the old time
zone info. In other words, the system clock now says it is Pacific time
but Netscape still reports Eastern time if it is given this:

var dummy = new Date();
window.alert(dummy);

IE 6 has no problem with this. It reports the new time zone.

First off, is this happening to anyone else? Second, does anyone know a
way to make Netscape 7 keep track of the system's time zone settings,
especially if they are changed?

This isn't a big problem, but I'm developing a calendar with some time
functions and it makes trouble shooting a pain.

Any help would be appreciated. If nothing else, verification that this
happens to others would be of benefit.

Best regards,
LJL
Jul 20 '05 #1
1 1152
JRS: In article <Xn***************************@207.69.154.204>, seen in
news:comp.lang.javascript, LJL <no**@nowhere.com> posted at Mon, 26 Jan
2004 06:09:20 :-

I have a question regarding the system time and Netscape 7. I am running
Win98SE.

When Netscape 7 first loads it seems to store the currently set system time
zone information. If I change the time zone after Netscape 7 is loaded,
from Eastern time to Pacific time for example, it still uses the old time
zone info. In other words, the system clock now says it is Pacific time
but Netscape still reports Eastern time if it is given this:

var dummy = new Date();
window.alert(dummy);

IE 6 has no problem with this. It reports the new time zone.

First off, is this happening to anyone else? Second, does anyone know a
way to make Netscape 7 keep track of the system's time zone settings,
especially if they are changed?


I don't recall whether a correct action is defined. Settings could be
read from the OS at the moment of use, when the page is loaded, or when
the browser is loaded.

At the moment, I cannot think of any OS settings that affect javascript
other than those involving Date Objects; for example, *AFAIK* there is
no use for currency setting in javascript, and, though the decimal
separator setting could be used, it is not. Are there others?

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: rick cameron | last post by:
TimeZone - the only instance you can get is one representing the local time zone DateTime - cannot represent a time before 00:00:00 1 Jan 1 CE What were they thinking? This is a serious question...
7
by: Jim Davis | last post by:
I'm (still) working on an ISO 8601 date parser. I want to convert at least the formats described here: http://www.w3.org/TR/NOTE-datetime Well.. I've got most of it working (via RegEx's) good...
1
by: cnliou | last post by:
Hi! If I correctly understand v7.4 manual, value, say, '2003-11-26 12:00' in TIMESTAMP WITHOUT TIMEZONE column should output '2003-11-26 19:00' for "+08:00" timezone. The following test...
0
by: eastlands | last post by:
Not sure if this is an xml or a ado.net question: I have created an xml document from a .net dataset which contains a DateTime column, however all the time elements are set to 00:00:00. example...
0
by: Allen Davis | last post by:
Thanks to some helpful tips (see http://communities2.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.dotnet.framework.adonet&mid=beab88b9-af00-4deb-9654-ea9aacc048f2) I...
0
by: jrhastings | last post by:
I know there are many threads on this topic but I haven't yet found an answer to this question. I'd like to map from a utc to a local time in an arbitrary timezone (not necessary the default local...
3
by: mac11 | last post by:
I have an app that runs under Linux (centos and LFS flavors) and I'm having problems with reading the correct time after I change the timezone (by moving the link at /etc/localtime to point to the...
18
by: newbie | last post by:
Hi, I wonder if it's possible to detect a user (the browser's) timezone when he/she access my php file? I saw ppl suggesting using javascript to collect that information. But I wonder if it's...
2
by: Michele Locati | last post by:
Hi to everybody I'm working with dates and time, and I can't find the way to determine the time in a generic TimeZone. Here's an example of what I'd like to do: // I get the local date and...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.