PC Review


Reply
Thread Tools Rate Thread

automatically updated time and date on my website

 
 
=?Utf-8?B?cmljaGFyZA==?=
Guest
Posts: n/a
 
      16th Dec 2005
I'm new to this and not very confident so if you can help, please keep it
simple. I have made a website for the school I work in and would like to know
if there is a simple way of making the date that is on the home page,
auttomatically show as the current date. I only update the site from time to
time with new work from children and school events so it can appear out of
date. I could just remove the date I suppose but would rather keep it.
Thanks
 
Reply With Quote
 
 
 
 
Tom [Pepper] Willett
Guest
Posts: n/a
 
      16th Dec 2005
Google for "current date script" and you'll come up with many ideas,
including:
http://javascript.internet.com/clocks/current-date.html
--
===
Tom [Pepper] Willett
Microsoft MVP - FrontPage
---
FrontPage Support:
http://www.frontpagemvps.com/
About FrontPage 2003:
http://office.microsoft.com/home/off...tid=FX01085802
===
"richard" <(E-Mail Removed)> wrote in message
news:7435E23E-47D8-48F3-BE73-(E-Mail Removed)...
| I'm new to this and not very confident so if you can help, please keep it
| simple. I have made a website for the school I work in and would like to
know
| if there is a simple way of making the date that is on the home page,
| auttomatically show as the current date. I only update the site from time
to
| time with new work from children and school events so it can appear out of
| date. I could just remove the date I suppose but would rather keep it.
| Thanks


 
Reply With Quote
 
Tom J
Guest
Posts: n/a
 
      16th Dec 2005
I've used this 1 for years. Just go to code view and paste in where
you want the date.
**************
<center>
<font face="arial" size="4"><B>
<SCRIPT LANGUAGE="JavaScript1.2">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var months=new Array(13);
months[1]="January";
months[2]="February";
months[3]="March";
months[4]="April";
months[5]="May";
months[6]="June";
months[7]="July";
months[8]="August";
months[9]="September";
months[10]="October";
months[11]="November";
months[12]="December";
var time=new Date();
var lmonth=months[time.getMonth() + 1];
var date=time.getDate();
var year=time.getYear();
if (year < 2000) // Y2K Fix, Isaac Powell
year = year + 1900; // http://onyx.idbsu.edu/~ipowell
document.write("<center>" + lmonth + " ");
document.write(date + ", " + year + "</center>");
// End --></font>
</SCRIPT>
</center>
**************
http://search.internet.com/www.javascriptsource.com
They have many more options.
Tom J

"richard" <(E-Mail Removed)> wrote in message
news:7435E23E-47D8-48F3-BE73-(E-Mail Removed)...
> I'm new to this and not very confident so if you can help, please
> keep it
> simple. I have made a website for the school I work in and would
> like to know
> if there is a simple way of making the date that is on the home
> page,
> auttomatically show as the current date. I only update the site from
> time to
> time with new work from children and school events so it can appear
> out of
> date. I could just remove the date I suppose but would rather keep
> it.
> Thanks



 
Reply With Quote
 
=?Utf-8?B?cmljaGFyZA==?=
Guest
Posts: n/a
 
      19th Dec 2005
Thanks Tom. Just the job.

"Tom J" wrote:

> I've used this 1 for years. Just go to code view and paste in where
> you want the date.
> **************
> <center>
> <font face="arial" size="4"><B>
> <SCRIPT LANGUAGE="JavaScript1.2">
>
> <!-- This script and many more are available free online at -->
> <!-- The JavaScript Source!! http://javascript.internet.com -->
>
> <!-- Begin
> var months=new Array(13);
> months[1]="January";
> months[2]="February";
> months[3]="March";
> months[4]="April";
> months[5]="May";
> months[6]="June";
> months[7]="July";
> months[8]="August";
> months[9]="September";
> months[10]="October";
> months[11]="November";
> months[12]="December";
> var time=new Date();
> var lmonth=months[time.getMonth() + 1];
> var date=time.getDate();
> var year=time.getYear();
> if (year < 2000) // Y2K Fix, Isaac Powell
> year = year + 1900; // http://onyx.idbsu.edu/~ipowell
> document.write("<center>" + lmonth + " ");
> document.write(date + ", " + year + "</center>");
> // End --></font>
> </SCRIPT>
> </center>
> **************
> http://search.internet.com/www.javascriptsource.com
> They have many more options.
> Tom J
>
> "richard" <(E-Mail Removed)> wrote in message
> news:7435E23E-47D8-48F3-BE73-(E-Mail Removed)...
> > I'm new to this and not very confident so if you can help, please
> > keep it
> > simple. I have made a website for the school I work in and would
> > like to know
> > if there is a simple way of making the date that is on the home
> > page,
> > auttomatically show as the current date. I only update the site from
> > time to
> > time with new work from children and school events so it can appear
> > out of
> > date. I could just remove the date I suppose but would rather keep
> > it.
> > Thanks

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically insert time in excel but not automatically updated NeueN Microsoft Excel Worksheet Functions 5 14th Apr 2012 11:30 AM
date and time updated automatically =?Utf-8?B?UmljaGFyZA==?= Microsoft Excel Worksheet Functions 1 5th Feb 2006 04:48 AM
Current date and time updated automatically =?Utf-8?B?UmljaGFyZA==?= Microsoft Excel Misc 7 4th Feb 2006 09:00 PM
Automatically record date/time record is updated =?Utf-8?B?RG9ubmE=?= Microsoft Access 6 4th Jun 2005 12:25 PM
Why does my date get updated automatically =?Utf-8?B?RGV0b3Vy?= Microsoft Word Document Management 2 10th Jan 2005 04:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:32 PM.