How do I put the current date on a page in FrontPage?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm using MS FrontPage for my boss' website, and I want to get the correct
html code so that the index page always displays the current date without me
having to go in and change it every day.
 
This gives the day, date & time (time when page was viewed like "now")

<script language="Javascript">var now=new
Date();document.write(now.toString().substr(0,24));//->
</script>

This gives the day & date only

<script language="Javascript">var now=new
Date();document.write(now.toString().substr(0,10));//->
</script>

Hope that helps

Don
======================
| I'm using MS FrontPage for my boss' website, and I want to get the correct
| html code so that the index page always displays the current date without
me
| having to go in and change it every day.
 
I usually use this -

<blink>To see the time, look at your watch!</blink>
 
I really don't need to "See" the time...
I can just feel it! Ha hahaha

Don
============
|I usually use this -
|
| <blink>To see the time, look at your watch!</blink>
|
| --
| Murray
|
| | > This gives the day, date & time (time when page was viewed like "now")
| >
| > <script language="Javascript">var now=new
| > Date();document.write(now.toString().substr(0,24));//->
| > </script>
| >
| > This gives the day & date only
| >
| > <script language="Javascript">var now=new
| > Date();document.write(now.toString().substr(0,10));//->
| > </script>
| >
| > Hope that helps
| >
| > Don
| > ======================
| > | > | I'm using MS FrontPage for my boss' website, and I want to get the
| > correct
| > | html code so that the index page always displays the current date
| > without
| > me
| > | having to go in and change it every day.
| >
| >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top