473,408 Members | 2,087 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Page Last Updated...

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
3 2546
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Emilio | last post by:
Hi, I have a form that contains various server validation controls, the submit button will either open a popup box or a popup window on the client-side click event. The question is, how do I...
5
by: tshad | last post by:
Is there a way to carry data that I have already read from the datagrid from page to page? I am looking at my Datagrid that I page through and when the user says get the next page, I have to go...
1
by: Mike Grace | last post by:
Hi, I have a gridview which is using a SqlDataSource to update a table. The SqlDatasource is using a stored procedure to update the table. If I edit a row, change a value and click update...
2
by: Warmbells | last post by:
Hello, Most of the pages on the site I manage are html with a few with php snippits on them which are named .php, on the html pages I have a 'Last Updated' piece of code as follows Last...
0
by: jaimebienlesfruits | last post by:
Is there a script I can include on the bottom of each page to indicate when the page was last updated? The PHP timstamp thing doesn't seem to work as it reflects the date of visit on the user's part....
1
by: Larry L [in Honolulu] | last post by:
I know how to use javascript to print the date a page was last updated in the HTML itself, but - Is it possible through javascript, to add something to the url of a page to find the date that...
2
by: chainfire316 | last post by:
Hi, I am trying to find a script that automatically updates and lets my viewers know when a page was last updated but I want it to display on a different page then the one that is updating. Can...
1
by: Brock | last post by:
First note that I am using Framework 1.1. I have an .aspx page that is displaying a list of employees, but only the Employee Number, First Name, Last Name, and Title. It is working great. I...
10
by: optimistx | last post by:
Is there a way for a bookmarklet to know, when exactly the page was loaded or refreshed? If yes, how? :)
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.