<html><div style='background-color:'><DIV>
<P><script></P>
<P>dayName = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")</P>
<P>monName = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")</P>
<P>now = new Date</P>
<P></script></P>
<P>// Stuff</P>
<P><script></P>
<P>document.write("<h1>Today is " + dayName[now.getDay()] + ", " + monName[now.getMonth()] + " " + now.getDate() + ".<\/h1>")</P>
<P></script></P>
<P>From <EM><U>Javascript for the World Wide Web Fourth Edition</U></EM>, Negrino & Smith, Peachpit Press<BR><BR></P></DIV>
<DIV></DIV>
<DIV>Cutter</DIV>
<DIV></DIV>
<DIV><A href="http://www.falcon-knives.com/">Falcon Knives</A></DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>----Original Message Follows----
<DIV></DIV>[Javascript] How do I insert the actual (not user's computer) date with javascript (no ASP)?
<DIV></DIV>Date: Wed, 21 Nov 2001 16:50:22 -0000
<DIV></DIV>
<DIV></DIV>I am looking to insert the actual date on a page that would update
<DIV></DIV>based on the server date or atomic clock date or something with a
<DIV></DIV>quick javascript or something. I don't have ASP so I can't use the
<DIV></DIV>date() object or whatever.
<DIV></DIV>Please help!
<DIV></DIV>
<DIV></DIV>Thanks,
<DIV></DIV>Bobby
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>_______________________________________________
<DIV></DIV>Javascript mailing list
<DIV></DIV>Javascript@LaTech.edu
<DIV></DIV>http://www.LaTech.edu/mailman/listinfo/javascript
<DIV></DIV></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>