Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #22217

Re: OT: Displaying current time on a website

From Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid>
Newsgroups comp.lang.javascript
Subject Re: OT: Displaying current time on a website
Date 2013-11-29 21:30 +0000
Organization Home
Message-ID <+lT5yeTkdQmSFwnV@invalid.uk.co.demon.merlyn.invalid> (permalink)
References (2 earlier) <l736ib$pgs$1@dont-email.me> <l738t2$738$1@dont-email.me> <52964acb$0$6635$9b4e6d93@newsspool2.arcor-online.net> <l75ncg$qc2$1@dont-email.me> <l7657v$hgk$2@dont-email.me>

Show all headers | View raw


In comp.lang.javascript message <l7657v$hgk$2@dont-email.me>, Thu, 28
Nov 2013 01:11:27, Denis McMahon <denismfmcmahon@gmail.com> posted:

>On Wed, 27 Nov 2013 16:15:09 -0500, Rhino wrote:
>
>>> F'up to comp.lang.javascript
>
>Most computer users have a clock somewhere on their screen already,
>showing the time zone(s) that they want, unless they made a conscious
>decision not to have one there.

You do not, I think, mean time zone.  The UK and Iceland are in the same
time zone, so have the same time in Winter; but they have different time
in Summer.  One should not pander to the ignorance of the Microsofties.

Most have their computer set to current civil time.  But sometimes one
is more interested in the time elsewhere.

In the computer that I am at present using, the default time display is
tiny, in hours and minutes.  I like to be able to see a larger display,
with seconds.

JavaScript is not necessarily written ***for*** the distant client of a
Web server, even when it is made available thus : my js-alarm.htm is
written for ***ME***, and I put it on the server because others might
like to have a copy.

My js-date5.htm#SLGC gives current date and time by default in 8 places,
plus local & GMT; and a reader can subtract or add places at will, using
a TZ string.

>Why do you want to use cpu resources on the client system in duplicating
>a feature that probably already exists?

Probably is not certainly.

>If you want a "page generated at time on date" then use server side code
>to do so, but really, displaying a clock to the user, no, just don't do
>it.

But the page may not have been generated on a server.

Never assume that a questioner belongs to the majority.

-- 
 (c) John Stockton, nr London, UK.   E-mail, see Home Page.    Turnpike v6.05.
 Website  <http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
 PAS EXE etc. : <http://www.merlyn.demon.co.uk/programs/> - see in 00index.htm
 Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: OT: Displaying current time on a website Rhino <no_offline_contact_please@example.com> - 2013-11-27 16:15 -0500
  Re: OT: Displaying current time on a website Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-28 01:11 +0000
    Re: OT: Displaying current time on a website "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-11-28 11:20 +0200
      Re: OT: Displaying current time on a website Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-29 00:12 +0000
        Re: OT: Displaying current time on a website Andrew Poulos <ap_prog@hotmail.com> - 2013-11-29 13:51 +1100
        Re: OT: Displaying current time on a website Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-29 10:58 +0100
    Re: OT: Displaying current time on a website Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-11-29 21:30 +0000
  Re: OT: Displaying current time on a website Stefan Weiss <krewecherl@gmail.com> - 2013-11-28 23:09 +0100
    Re: OT: Displaying current time on a website tony@mountifield.org (Tony Mountifield) - 2013-11-28 23:24 +0000
      Re: OT: Displaying current time on a website tony@mountifield.org (Tony Mountifield) - 2013-11-29 13:12 +0000
        Re: OT: Displaying current time on a website Stefan Weiss <krewecherl@gmail.com> - 2013-11-29 14:39 +0100
        Re: OT: Displaying current time on a website Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-11-30 20:35 +0000
          Re: OT: Displaying current time on a website "Evertjan." <exjxw.hannivoort@interxnl.net> - 2013-12-01 07:57 +0000

csiph-web