Hi, Everybody,

I am looking for some samples that can put the real-time clock on my web
page, I was told that there is a simple VB script will do the trick. Also I
am wondering are there web sites will offer some general web developing tips
and learning materials?

Thanks for any help,

Wayne

Re: Sample, Tips? by Evertjan

Evertjan
Mon Jul 07 15:52:05 CDT 2003

Wayne S wrote on 07 jul 2003 in microsoft.public.scripting.vbscript:
> I am looking for some samples that can put the real-time clock on my
> web page, I was told that there is a simple VB script will do the
> trick.


This is in Dutch, sets a clock in the status bar:

function two(x){
return ((x<10)?"0":"")+x
}

wkdgn=["zon","maan","dins","woens","donder","vrij","zater"]

function settijd(){
d=new Date()
status="local time is: "+
wkdgn[d.getDay()]+"dag "+
two(d.getDate())+"-"+two(d.getMonth()+1)+"-"+d.getYear()+" "+
two(d.getHours())+":"+two(d.getMinutes())+":"+two(d.getSeconds())
setTimeout("settijd()",1000)
}
settijd()



--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Re: Sample, Tips? by Paul

Paul
Mon Jul 07 18:40:30 CDT 2003

Do a google search, http://www.google.com and search on clock and dhtml

"Wayne S" <wayne_shen@hotmail.com> wrote in message
news:e8dDzTMRDHA.2636@TK2MSFTNGP10.phx.gbl...
> Hi, Everybody,
>
> I am looking for some samples that can put the real-time clock on my web
> page, I was told that there is a simple VB script will do the trick. Also
I
> am wondering are there web sites will offer some general web developing
tips
> and learning materials?
>
> Thanks for any help,
>
> Wayne
>
>



Re: Sample, Tips? by Evertjan

Evertjan
Tue Jul 08 13:26:27 CDT 2003

Dr John Stockton wrote on 08 jul 2003 in
microsoft.public.scripting.vbscript:
> Your post looks surprisingly like javascript.

How first appearance can fool you, John ;-)

[Sorry, thought I was in the other NG.]



--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)