Page Last Updated...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Toby Briggs

    #1

    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


  • Dr John Stockton

    #2
    Re: Page Last Updated...

    JRS: In article <bq7cpn$mtc$1@n ews7.svr.pol.co .uk>, seen in
    news:comp.lang. javascript, Toby Briggs <toby@no_spam_t wbriggs.freeser ve.
    co.uk> posted at Fri, 28 Nov 2003 11:50:12 :-
    [color=blue]
    >New to here![/color]

    It is wise to seek and read its FAQ before posting to a newsgroup. Jim
    Ley posts the relevant part on Mon & Fri.
    [color=blue]
    >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![/color]

    Possibly not. It probably localises for the reader's computer's
    settings as chosen by Microsoft; the result may be quite different in
    Japan.
    [color=blue]
    >I would prefer dd/mm/yyyy or even something like Fri 28th November 2003.[/color]

    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.
    [color=blue]
    >How is this possible?[/color]

    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.demo n.co.uk/js-index.htm> JS maths, dates, sources.
    <URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/JS/&c., FAQ topics, links.

    Comment

    • Fabian

      #3
      Re: Page Last Updated...

      Dr John Stockton hu kiteb:
      [color=blue][color=green]
      >> I would prefer dd/mm/yyyy or even something like Fri 28th November
      >> 2003.[/color]
      >
      > 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.[/color]

      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!
      Penasaran slot depo 10k di AGAM69? Simak pengalaman main Mahjong Ways dan buy spin modal receh yang berakhir manis. Daftar dan buktikan sendiri.



      Comment

      • Dr John Stockton

        #4
        Re: Page Last Updated...

        JRS: In article <bq8pku$1v85b8$ 2@ID-174912.news.uni-berlin.de>, seen in
        news:comp.lang. javascript, Fabian <lajzar@hotmail .com> posted at Sat, 29
        Nov 2003 09:11:29 :-[color=blue]
        >Dr John Stockton hu kiteb:
        >[color=green][color=darkred]
        >>> I would prefer dd/mm/yyyy or even something like Fri 28th November
        >>> 2003.[/color]
        >>
        >> 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.[/color]
        >
        >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.[/color]

        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.demo n.co.uk/> - w. FAQish topics, links, acronyms
        PAS EXE etc : <URL:http://www.merlyn.demo n.co.uk/programs/> - see 00index.htm
        Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.

        Comment

        Working...