AmigaActive (1370/2347)

From:Joris Kempen
Date:18 Mar 2001 at 09:52:39
Subject:Re: Javascript date problem

Hello Joris

On 18-Mar-01, you wrote:

> and this is the call to the script. <script
> type="text/javascript">document.write(hoelang(20,7,2001))</script>
>
I found my bug in it: i call it with '7' as the number for the month. But JS
interprets this as being August. When i use '6' it works correctly with
month i want: juli. Is this normal in javascript that the months start
counting at '0'?

> Now my problem: it does work on Aweb, not on Ibrowse or Voyager, but i
> don't have a problem with that. My problem is that it doesn't work
> correctly on IE and Netscape....
>
It also didn't work in Aweb.

Regards
Joris

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
Make good on the promise you made at graduation to keep
in touch. Classmates.com has over 14 million registered
high school alumni--chances are you'll find your friends!
http://us.click.yahoo.com/l3joGB/DMUCAA/4ihDAA/d8AVlB/TM
---------------------------------------------------------------------_->

Quote carefully and read all ADMIN:README mails

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/