Date Scripts

by "Ben Bradley" <kingben(at)bigfoot.com>

 Date:  Sun, 8 Aug 1999 18:01:40 +0100
 To:  <hwg-basics(at)hwg.org>
  todo: View Thread, Original
On my site I would like to put:

"Today's Highlights on Sunday the 8th of August 1999"

but I don't want the time and timezone to be displayed as happens when
using:

<script>
var today = new Date()
document.write("Today's Higlights On "+today+".")
</script>

I'm no expert in JavaScript, not even a beginner really but I've looked at
other scripts and found things similar to:
var today = new Date()
document.write("blahblahblah"+today.getDay()+".")

and I've tried playing around with it but it isn't happening.

Any answers?

Thankyou to all who reply as any help will be used!

Ben Bradley UK

http://batfastad.web.com

http://www.bigfoot.com/~kingben

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA