Try
for (j=0; j<10; j++)
document.writeln(J, " ", new Date(2001, 0, 13600+J), "<br>")
in Opera.
I found this with code covering in effect from j=0 and going higher.
After the year 2037, one error of one hour occurs near most Summer Time
transitions. Foreigners may well find differences.
Bug report sent.
--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 IE 6.
Web <URL:http://www.merlyn.demon.co.uk/- w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/- see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc. 1 1120
In comp.lang.javascript message <Pw**************@invalid.uk.co.demon.me
rlyn.invalid>, Tue, 12 Jun 2007 23:34:59, Dr J R Stockton
<jr*@merlyn.demon.co.ukposted.
Update :
The bug is not dependent on D being large :-
function X99() { var YY, Y, M, D, DOb
document.writeln("Opera 9.21 shows me errors near most",
" Summer Time steps outside 1970-2037;\nIE & FF are OK.")
for (YY=1970 ; YY<2050 ; YY+=68) for (Y=YY-4 ; Y<YY+5 ; Y++)
for (M=0 ; M<12 ; M++)
for (J=0 ; J<32 ; J++) {
DOb = new Date(Y, M, J)
if (DOb.getHours()!=0) document.writeln(LZZ(J), " ", DOb) } }
--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 IE 6.
Web <URL:http://www.merlyn.demon.co.uk/- w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/- see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Harald Hanche-Olsen |
last post by:
I'm confused. I was going to try linkchecker, and it dies with a
traceback ending in
File "/usr/local/lib/python2.4/calendar.py", line 32, in _localized_month
_months =
AttributeError:...
|
by: Dr John Stockton |
last post by:
Javascript date strings can have a one-letter postfix; it is taken as
indicating time zone (not J, which causes NaN).
// IIRC, VB accepts A & P in that location, for AM & PM.
In my MS IE 4, the...
|
by: |
last post by:
Hello,
I need to send a Java date (milliseconds since the epoch 1970-01-01
00:00:00.000 GMT) through a socket to a C++ app and reconstruct exactly the
same date in the C++ app as in the Java...
|
by: Alex |
last post by:
Hi,
is there an easy way to get the Difference between 2 dates in Days... as
an integer?
age('date1','date2') results in x years y days or something similar.
but I would like to
have the...
|
by: Scott Dunham |
last post by:
I'm trying to select records between 2 different times, but I can't
seem to get Access to see anything other than the date. For instance,
criteria "Between #11/12/2001 1:45:00 PM# and #11/12/2001...
|
by: jamesyreid |
last post by:
Hi,
I'm really sorry to post this as I know it must have been asked
countless times before, but I can't find an answer anywhere.
Does anyone have a snippet of JavaScript code I could borrow...
|
by: patrickkellogg |
last post by:
I have this code when you click the buttom is suppose to add a job
history. it works with firefox, opera, but not ie. (please note -
new entries don't have all the elements in them yet, but...
|
by: Dr J R Stockton |
last post by:
I've heard that at <URL:http://www.merlyn.demon.co.uk/js-clndr.htm#P>
and using Opera the suffixed dates in the yellow box appear in a single
long line instead of in the obvious weekly manner. ...
|
by: =?Utf-8?B?R3V5IENvaGVu?= |
last post by:
Hello
how do I get the day/month/year part of a date in vb.net?
sample in vb6:
day(13/10/2001) = 13
month(13/10/2001) = 10
year(13/10/2001) = 2001
Thanks
Guy
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| | |