PC Review


Reply
Thread Tools Rate Thread

current time and date

 
 
=?Utf-8?B?bmV2ZXNvbmU=?=
Guest
Posts: n/a
 
      3rd Feb 2005
Does anyone know how I can add the current time and date to my website. So
when someone views the homepafe the current date and time shows??
 
Reply With Quote
 
 
 
 
Thomas A. Rowe
Guest
Posts: n/a
 
      3rd Feb 2005
Who's current date and time, your local time or the users?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"nevesone" <(E-Mail Removed)> wrote in message
news:9366F9CD-A64A-41F9-B8C7-(E-Mail Removed)...
> Does anyone know how I can add the current time and date to my website. So
> when someone views the homepafe the current date and time shows??



 
Reply With Quote
 
Trevor L.
Guest
Posts: n/a
 
      4th Feb 2005
Hi ,

Here is an earlier potting on this topic

----- Original Message -----
From: "Larry" <(E-Mail Removed)>
Newsgroups: microsoft.public.frontpage.client
Sent: Saturday, January 29, 2005 1:48 PM
Subject: Re: how to time clock onto a web page showing the time in your own
area.


> Here's one that works fine for me. It display the local time on your
> computer:
>
> Put the script below in the HEAD section of your page or in a common js
> file.
>
> <!-- Output Header Time display -->
> <script>
>
> function padout(number) { return (number < 8) ? '0' + number : number; }
>
> function updateClocks() {
> now = new Date();
> document.forms[0].timenow.value = padout(now.getHours()) + ':' +
> padout(now.getMinutes()) + ':' + padout(now.getSeconds());
> now.setTime(now.getTime() - (1000*60*60*12));
> setTimeout('updateClocks()',500);
> }
> </script>
> ----------
> Put the code below where you want the clock to display. Add text as
> desired.
>
> <form name="time">
> <font face="Arial, Helvetica,
> sans-serif"><b><input
> name="timenow" type="text" size="6">
> <script language="JavaScript" type="text/javascript">
> updateClocks()
>
> </script>&nbsp;
> </b></font>
> </form>
>
> Larry
>



I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html


 
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
Meeting start date/time changes to current date/time Dave H Microsoft Outlook Calendar 0 14th Feb 2008 02:18 PM
Meeting/Appointment time and date default to current date/time Boe Microsoft Outlook Discussion 7 7th Dec 2007 09:20 PM
Can I automatically enter the current date or current time into a =?Utf-8?B?QmVu?= Microsoft Excel New Users 7 19th Oct 2005 03:38 PM
Accepted Meetings Requests reflect current date/time rather than meeting date jcchap Microsoft Outlook Calendar 0 12th Oct 2005 05:14 PM
current date & time & current user =?Utf-8?B?Sm93ZW4=?= Microsoft Access 1 5th Feb 2005 07:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:50 AM.