By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,712 Members | 2,116 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,712 IT Pros & Developers. It's quick & easy.

Page Last Updated...

P: n/a
Hi there,

New to here!

I'm trying to find a script which let's people know when a page has been
last updated! I've got a script, but it gives the date as mm/dd/yyyy!

I would prefer dd/mm/yyyy or even something like Fri 28th November 2003.

How is this possible?

Thanks in advance

Toby
Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
JRS: In article <bq**********@news7.svr.pol.co.uk>, seen in
news:comp.lang.javascript, Toby Briggs <toby@no_spam_twbriggs.freeserve.
co.uk> posted at Fri, 28 Nov 2003 11:50:12 :-
New to here!
It is wise to seek and read its FAQ before posting to a newsgroup. Jim
Ley posts the relevant part on Mon & Fri.
I'm trying to find a script which let's people know when a page has been
last updated! I've got a script, but it gives the date as mm/dd/yyyy!
Possibly not. It probably localises for the reader's computer's
settings as chosen by Microsoft; the result may be quite different in
Japan.
I would prefer dd/mm/yyyy or even something like Fri 28th November 2003.
The former is acceptable in a restricted area; for example a part of the
UK free of Americans. Internationally, you should use YYYY-MM-DD, which
will be understood everywhere, for a fixed short form; or trust that the
reader is accustomed to his browser.
How is this possible?


See below. The best way is to type the date, as text, on the page in
question; that way, the date need not be changed for unimportant changes
in the contents, such as the correction of non-deceptive typos.

--
John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4
<URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> JS maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/JS/&c., FAQ topics, links.
Jul 20 '05 #2

P: n/a
Dr John Stockton hu kiteb:
I would prefer dd/mm/yyyy or even something like Fri 28th November
2003.


The former is acceptable in a restricted area; for example a part of
the UK free of Americans. Internationally, you should use
YYYY-MM-DD, which will be understood everywhere, for a fixed short
form; or trust that the reader is accustomed to his browser.


The standard conventional form happens to be dd/mm/yyyy (sometimes
punctuated with a dot instead) in most of Europe too, not just the UK.
Personally, I think either the iso yyyy/mm/dd should be used, or else
the month should be spelt out either in full or as a TLA.
--
--
Fabian
Visit my website often and for long periods!
http://www.lajzar.co.uk
Jul 20 '05 #3

P: n/a
JRS: In article <bq*************@ID-174912.news.uni-berlin.de>, seen in
news:comp.lang.javascript, Fabian <la****@hotmail.com> posted at Sat, 29
Nov 2003 09:11:29 :-
Dr John Stockton hu kiteb:
I would prefer dd/mm/yyyy or even something like Fri 28th November
2003.


The former is acceptable in a restricted area; for example a part of
the UK free of Americans. Internationally, you should use
YYYY-MM-DD, which will be understood everywhere, for a fixed short
form; or trust that the reader is accustomed to his browser.


The standard conventional form happens to be dd/mm/yyyy (sometimes
punctuated with a dot instead) in most of Europe too, not just the UK.
Personally, I think either the iso yyyy/mm/dd should be used, or else
the month should be spelt out either in full or as a TLA.


In quite a bit of Europe, but AIUI by no means in all. Given the OP's
name & ISP, I felt that the UK provided a sufficient example.

ISO actually calls for yyyy-mm-dd, which alas is not directly readable
as a string by [all] javascript implementations.

--
John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME.
Web <URL:http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/> - see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.