Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: object: Date


Message #1 by Dimitriy Dribinskiy <DimitriyD@M...> on Thu, 19 Jul 2001 11:36:54 -0400
Thank you, everybody
Sorry, I just did not clean up memory cache in NN
It works

-----Original Message-----
From: Jaya John [mailto:jaya_john@h...]
Sent: Friday, July 20, 2001 12:15 PM
To: javascript
Subject: [javascript] Re: object: Date


 var currDate = new Date();
The above works perfectly both in IE and netscape 4.74.What version of
netscape are you using?
Jaya
----- Original Message -----
From: "Dimitriy Dribinskiy" <DimitriyD@M...>
To: "javascript" <javascript@p...>
Sent: Thursday, July 19, 2001 11:36 AM
Subject: [javascript] object: Date


> Hello
> the new Date() does not work in Netscape...
> my function is very simple:
>
>
> <HTML>
> <HEAD>
> <SCRIPT LANGUAGE="JavaScript">
> var now = null;
> function updateTime() {
>     now = new Date();
>     alert(now)
> }
> </SCRIPT>
> </HEAD>
> <BODY onLoad="return updateTime()">
>
> </BODY>
> </HTML>
>
>
> Please help.
> Thanks

  Return to Index