C
Christopher Krokos
Where can I get a code to display a local time on my site?
Thanks,
Chris
Thanks,
Chris
| ----------------------------------------------------------------------------
But gosh, it shimmered and stuff ! How cool is that ????
Bob Lehmann
Tom Pepper Willett said:Good, God no, Bob. I drew the line at the Lake applet.
Tom
| But, did you have the "Lake" applet? Then you would have really been
cookin'
| with gas!
|
| How times have changed. I remember when I was interviewing for jobs back
in
| '97ish, and the first question was always "Do you know how to do frames?".
| Bleeding edge stuff, ya know.
|
| It's kinda funny, but now-a-days if you don't possess at least some
| capability in *nix, Windows, ASP, PHP, MSSQL, MySQL, Java/JSP/Struts,
| JavaScript, all the relevant tools for using the aforementioned and - oh
| yeah, HTML - you won't have a chance. The skillset I had 5 years ago,
| wouldn't even get me an interview for the job I have now, which requires
all
| of the above - except ASP.
|
| Bob Lehmann
|
| | > Bob:
| >
| > Prolly because their visitors don't have clocks, watches, or clock on
the
| > computer?
| >
| > I did it years ago as a "newbie" because I thought you had to have every
| > conceivable bell and whistle on a web site. In those days, I designed
for
| > what I thought I wanted, not what the visitor needed.
| >
| > Including: "This site best viewed in Internet Explorer...." ;-)
| >
| >
| > --
| > =====================================================
| > Tom Pepper Willett [Microsoft MVP - FrontPage]
|
--------------------------------------------------------------------------
| --
| > -------------------
| > Microsoft FrontPage:
| > http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
| > http://msdn.microsoft.com/office/understanding/frontpage/
| > To assist you in getting the best answers for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > =====================================================
| > | > | I've always wondered why people want to do this?
| > |
| > | Bob Lehmann
| > |
| > | | > | > Where can I get a code to display a local time on my site?
| > | >
| > | > Thanks,
| > | > Chris
| > |
| > |
| >
| >
|
|
Christopher Krokos said:How about my original question, where can I get a FREE code to display
a local time on my site?
If you guys think it is silly and useless tool, just forget...
Have a great day
Chris
But gosh, it shimmered and stuff ! How cool is that ????
Bob Lehmann
Tom Pepper Willett said:Good, God no, Bob. I drew the line at the Lake applet.
Tom
| But, did you have the "Lake" applet? Then you would have really been
cookin'
| with gas!
|
| How times have changed. I remember when I was interviewing for jobs back
in
| '97ish, and the first question was always "Do you know how to do frames?".
| Bleeding edge stuff, ya know.
|
| It's kinda funny, but now-a-days if you don't possess at least some
| capability in *nix, Windows, ASP, PHP, MSSQL, MySQL, Java/JSP/Struts,
| JavaScript, all the relevant tools for using the aforementioned and - oh
| yeah, HTML - you won't have a chance. The skillset I had 5 years ago,
| wouldn't even get me an interview for the job I have now, which requires
all
| of the above - except ASP.
|
| Bob Lehmann
|
| | > Bob:
| >
| > Prolly because their visitors don't have clocks, watches, or clock on
the
| > computer?
| >
| > I did it years ago as a "newbie" because I thought you had to have every
| > conceivable bell and whistle on a web site. In those days, I designed
for
| > what I thought I wanted, not what the visitor needed.
| >
| > Including: "This site best viewed in Internet Explorer...." ;-)
| >
| >
| > --
| > =====================================================
| > Tom Pepper Willett [Microsoft MVP - FrontPage]
|------------------------------------------------------------------------- -
Christopher Krokos said:How about my original question, where can I get a FREE code to display
a local time on my site?
If you guys think it is silly and useless tool, just forget...
Have a great day
Chris
But gosh, it shimmered and stuff ! How cool is that ????
Bob Lehmann
Tom Pepper Willett said:Good, God no, Bob. I drew the line at the Lake applet.
Tom
| But, did you have the "Lake" applet? Then you would have really been
cookin'
| with gas!
|
| How times have changed. I remember when I was interviewing for jobs back
in
| '97ish, and the first question was always "Do you know how to do frames?".
| Bleeding edge stuff, ya know.
|
| It's kinda funny, but now-a-days if you don't possess at least some
| capability in *nix, Windows, ASP, PHP, MSSQL, MySQL, Java/JSP/Struts,
| JavaScript, all the relevant tools for using the aforementioned and - oh
| yeah, HTML - you won't have a chance. The skillset I had 5 years ago,
| wouldn't even get me an interview for the job I have now, which requires
all
| of the above - except ASP.
|
| Bob Lehmann
|
| | > Bob:
| >
| > Prolly because their visitors don't have clocks, watches, or clock on
the
| > computer?
| >
| > I did it years ago as a "newbie" because I thought you had to have every
| > conceivable bell and whistle on a web site. In those days, I designed
for
| > what I thought I wanted, not what the visitor needed.
| >
| > Including: "This site best viewed in Internet Explorer...." ;-)
| >
| >
| > --
| > =====================================================
| > Tom Pepper Willett [Microsoft MVP - FrontPage]
|------------------------------------------------------------------------- -
Here's javascript coding we put together for showing the Date and Time:
<!-- START DATE & TIME -->
<script language="JavaScript1.2">
<!-- 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)
year = year + 1900;
document.write("<right>" + lmonth + " ");
document.write(date + ", " + year + "</right>");
// End -->
</script><!-- END DATE & TIME -->
To change how the Date and Time show, you alter this part:
document.write("<right>" + lmonth + " ");
document.write(date + ", " + year + "</right>");
Christopher Krokos said:How about my original question, where can I get a FREE code to display
a local time on my site?
If you guys think it is silly and useless tool, just forget...
Have a great day
Chris
But gosh, it shimmered and stuff ! How cool is that ????
Bob Lehmann
Good, God no, Bob. I drew the line at the Lake applet.
Tom
| But, did you have the "Lake" applet? Then you would have really been
cookin'
| with gas!
|
| How times have changed. I remember when I was interviewing for jobs back
in
| '97ish, and the first question was always "Do you know how to do
frames?".
| Bleeding edge stuff, ya know.
|
| It's kinda funny, but now-a-days if you don't possess at least some
| capability in *nix, Windows, ASP, PHP, MSSQL, MySQL, Java/JSP/Struts,
| JavaScript, all the relevant tools for using the aforementioned and - oh
| yeah, HTML - you won't have a chance. The skillset I had 5 years ago,
| wouldn't even get me an interview for the job I have now, which requires
all
| of the above - except ASP.
|
| Bob Lehmann
|
| | > Bob:
| >
| > Prolly because their visitors don't have clocks, watches, or clock on
the
| > computer?
| >
| > I did it years ago as a "newbie" because I thought you had to have
every
| > conceivable bell and whistle on a web site. In those days, I designed
for
| > what I thought I wanted, not what the visitor needed.
| >
| > Including: "This site best viewed in Internet Explorer...." ;-)
| >
| >
| > --
| > =====================================================
| > Tom Pepper Willett [Microsoft MVP - FrontPage]
|------------------------------------------------------------------------- -
| --
| > -------------------
| > Microsoft FrontPage:
| > http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
| > http://msdn.microsoft.com/office/understanding/frontpage/
| > To assist you in getting the best answers for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > =====================================================
| > | > | I've always wondered why people want to do this?
| > |
| > | Bob Lehmann
| > |
| > | | > | > Where can I get a code to display a local time on my site?
| > | >
| > | > Thanks,
| > | > Chris
| > |
| > |
| >
| >
|
|
Christopher Krokos said:Thanks for the script. Tried to make it work with no success. Have few
questions...
(1) Where do I insert the script to? head or body of the page...
(2) How to align time/date display center, left, etc..?
(3) Have a current javascript to open pictures in the same size
windows, any conflict with the time/date script?
Chris
Here's javascript coding we put together for showing the Date and Time:
<!-- START DATE & TIME -->
<script language="JavaScript1.2">
<!-- 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)
year = year + 1900;
document.write("<right>" + lmonth + " ");
document.write(date + ", " + year + "</right>");
// End -->
</script><!-- END DATE & TIME -->
To change how the Date and Time show, you alter this part:
document.write("<right>" + lmonth + " ");
document.write(date + ", " + year + "</right>");
jobsChristopher Krokos said:How about my original question, where can I get a FREE code to display
a local time on my site?
If you guys think it is silly and useless tool, just forget...
Have a great day
Chris
On Sat, 12 Jun 2004 19:49:29 -0600, "Bob Lehmann"
But gosh, it shimmered and stuff ! How cool is that ????
Bob Lehmann
Good, God no, Bob. I drew the line at the Lake applet.
Tom
| But, did you have the "Lake" applet? Then you would have really been
cookin'
| with gas!
|
| How times have changed. I remember when I was interviewing for
backand -in
| '97ish, and the first question was always "Do you know how to do
frames?".
| Bleeding edge stuff, ya know.
|
| It's kinda funny, but now-a-days if you don't possess at least some
| capability in *nix, Windows, ASP, PHP, MSSQL, MySQL, Java/JSP/Struts,
| JavaScript, all the relevant tools for using the aforementioned
ohclock| yeah, HTML - you won't have a chance. The skillset I had 5 years ago,
| wouldn't even get me an interview for the job I have now, which requires
all
| of the above - except ASP.
|
| Bob Lehmann
|
| | > Bob:
| >
| > Prolly because their visitors don't have clocks, watches, or
on-the
| > computer?
| >
| > I did it years ago as a "newbie" because I thought you had to have
every
| > conceivable bell and whistle on a web site. In those days, I designed
for
| > what I thought I wanted, not what the visitor needed.
| >
| > Including: "This site best viewed in Internet Explorer...." ;-)
| >
| >
| > --
| > =====================================================
| > Tom Pepper Willett [Microsoft MVP - FrontPage]
|
------------------------------------------------------------------------
-| --
| > -------------------
| > Microsoft FrontPage:
| > http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
| > http://msdn.microsoft.com/office/understanding/frontpage/
| > To assist you in getting the best answers for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > =====================================================
| > | > | I've always wondered why people want to do this?
| > |
| > | Bob Lehmann
| > |
| > | | > | > Where can I get a code to display a local time on my site?
| > | >
| > | > Thanks,
| > | > Chris
| > |
| > |
| >
| >
|
|
You place the script in the location you want the date and time to display
at.
You align the time by using changing the <right> in the code below to what
ever you need it to do <center> <left>, etc. remember to change the closing
tag too.
document.write("<right>" + lmonth + " ");
document.write(date + ", " + year + "</right>");
Shouldn't conflict with any other javascript, but you'll have to check it
out on a page to make sure, as you never know.
Christopher Krokos said:Thanks for the script. Tried to make it work with no success. Have few
questions...
(1) Where do I insert the script to? head or body of the page...
(2) How to align time/date display center, left, etc..?
(3) Have a current javascript to open pictures in the same size
windows, any conflict with the time/date script?
Chris
Here's javascript coding we put together for showing the Date and Time:
<!-- START DATE & TIME -->
<script language="JavaScript1.2">
<!-- 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)
year = year + 1900;
document.write("<right>" + lmonth + " ");
document.write(date + ", " + year + "</right>");
// End -->
</script><!-- END DATE & TIME -->
To change how the Date and Time show, you alter this part:
document.write("<right>" + lmonth + " ");
document.write(date + ", " + year + "</right>");
How about my original question, where can I get a FREE code to display
a local time on my site?
If you guys think it is silly and useless tool, just forget...
Have a great day
Chris
On Sat, 12 Jun 2004 19:49:29 -0600, "Bob Lehmann"
But gosh, it shimmered and stuff ! How cool is that ????
Bob Lehmann
Good, God no, Bob. I drew the line at the Lake applet.
Tom
| But, did you have the "Lake" applet? Then you would have really been
cookin'
| with gas!
|
| How times have changed. I remember when I was interviewing for jobs
back
in
| '97ish, and the first question was always "Do you know how to do
frames?".
| Bleeding edge stuff, ya know.
|
| It's kinda funny, but now-a-days if you don't possess at least some
| capability in *nix, Windows, ASP, PHP, MSSQL, MySQL, Java/JSP/Struts,
| JavaScript, all the relevant tools for using the aforementioned and -
oh
| yeah, HTML - you won't have a chance. The skillset I had 5 years ago,
| wouldn't even get me an interview for the job I have now, which
requires
all
| of the above - except ASP.
|
| Bob Lehmann
|
| | > Bob:
| >
| > Prolly because their visitors don't have clocks, watches, or clock
on
the
| > computer?
| >
| > I did it years ago as a "newbie" because I thought you had to have
every
| > conceivable bell and whistle on a web site. In those days, I
designed
for
| > what I thought I wanted, not what the visitor needed.
| >
| > Including: "This site best viewed in Internet Explorer...." ;-)
| >
| >
| > --
| > =====================================================
| > Tom Pepper Willett [Microsoft MVP - FrontPage]
|------------------------------------------------------------------------ -
-
| --
| > -------------------
| > Microsoft FrontPage:
| > http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
| > http://msdn.microsoft.com/office/understanding/frontpage/
| > To assist you in getting the best answers for FrontPage support
see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > =====================================================
| > | > | I've always wondered why people want to do this?
| > |
| > | Bob Lehmann
| > |
| > | | > | > Where can I get a code to display a local time on my site?
| > | >
| > | > Thanks,
| > | > Chris
| > |
| > |
| >
| >
|
|
Christopher Krokos said:Thank you for explanation. I am sure that everyone on
<microsoft.public.frontpage.client> knows well what you are talking
about except me, a poor biochemist :-( I don't even know what script's
closing tag is...sorry
If you could, please kindly set the whole script to show a local time
and date in Bangkok, Thailand. All I know is how to copy and paste
this bloody thing into my site. If you have no time my loss...
Anyway, thank you for all your help...
Christopher A Krokos
WoodCiti Thailand
http://www.the-wood.com/
http://www.woodroyal.com/
You place the script in the location you want the date and time to display
at.
You align the time by using changing the <right> in the code below to what
ever you need it to do <center> <left>, etc. remember to change the closing
tag too.
document.write("<right>" + lmonth + " ");
document.write(date + ", " + year + "</right>");
Shouldn't conflict with any other javascript, but you'll have to check it
out on a page to make sure, as you never know.
yearsChristopher Krokos said:Thanks for the script. Tried to make it work with no success. Have few
questions...
(1) Where do I insert the script to? head or body of the page...
(2) How to align time/date display center, left, etc..?
(3) Have a current javascript to open pictures in the same size
windows, any conflict with the time/date script?
Chris
Here's javascript coding we put together for showing the Date and Time:
<!-- START DATE & TIME -->
<script language="JavaScript1.2">
<!-- 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)
year = year + 1900;
document.write("<right>" + lmonth + " ");
document.write(date + ", " + year + "</right>");
// End -->
</script><!-- END DATE & TIME -->
To change how the Date and Time show, you alter this part:
document.write("<right>" + lmonth + " ");
document.write(date + ", " + year + "</right>");
How about my original question, where can I get a FREE code to display
a local time on my site?
If you guys think it is silly and useless tool, just forget...
Have a great day
Chris
On Sat, 12 Jun 2004 19:49:29 -0600, "Bob Lehmann"
But gosh, it shimmered and stuff ! How cool is that ????
Bob Lehmann
Good, God no, Bob. I drew the line at the Lake applet.
Tom
| But, did you have the "Lake" applet? Then you would have really been
cookin'
| with gas!
|
| How times have changed. I remember when I was interviewing for jobs
back
in
| '97ish, and the first question was always "Do you know how to do
frames?".
| Bleeding edge stuff, ya know.
|
| It's kinda funny, but now-a-days if you don't possess at least some
| capability in *nix, Windows, ASP, PHP, MSSQL, MySQL, Java/JSP/Struts,
| JavaScript, all the relevant tools for using the aforementioned and -
oh
| yeah, HTML - you won't have a chance. The skillset I had 5
ago,-| wouldn't even get me an interview for the job I have now, which
requires
all
| of the above - except ASP.
|
| Bob Lehmann
|
| | > Bob:
| >
| > Prolly because their visitors don't have clocks, watches, or clock
on
the
| > computer?
| >
| > I did it years ago as a "newbie" because I thought you had to have
every
| > conceivable bell and whistle on a web site. In those days, I
designed
for
| > what I thought I wanted, not what the visitor needed.
| >
| > Including: "This site best viewed in Internet Explorer...." ;-)
| >
| >
| > --
| > =====================================================
| > Tom Pepper Willett [Microsoft MVP - FrontPage]
|
-----------------------------------------------------------------------
--
| --
| > -------------------
| > Microsoft FrontPage:
| > http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
| > http://msdn.microsoft.com/office/understanding/frontpage/
| > To assist you in getting the best answers for FrontPage support
see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > =====================================================
| > | > | I've always wondered why people want to do this?
| > |
| > | Bob Lehmann
| > |
| > | | > | > Where can I get a code to display a local time on my site?
| > | >
| > | > Thanks,
| > | > Chris
| > |
| > |
| >
| >
|
|