Insert viewers time and date.

Discussion in 'Web Design & Coding' started by Jim, Aug 19, 2005.

  1. Jim

    Jim Jim UK

    Joined:
    Aug 18, 2004
    Messages:
    31
    Likes Received:
    0
    Location:
    Darwen UK
    Does anyone know of a script that is capable of inserting the page viewers date and time into the web page? Not the time from the server but pulling the date and time from the viewers machine.
    Can this be done?

    Thanks in anticipation.

    Jim
     
    Jim, Aug 19, 2005
    #1
    1. Advertisements

  2. Jim

    Fenis-Wolf VIP Member

    Joined:
    Apr 30, 2003
    Messages:
    2,951
    Likes Received:
    35
    Location:
    Ann Arbor, Mi
    Fenis-Wolf, Aug 20, 2005
    #2
    1. Advertisements

  3. Jim

    Nickweb Resident Filmaker Moderator

    Joined:
    Nov 7, 2003
    Messages:
    2,532
    Likes Received:
    27
    Location:
    North Wales, Britain
    the javascript source one is very good, i used to use it on my website, until i re-designed it
     
    Nickweb, Aug 20, 2005
    #3
  4. Jim

    Jim Jim UK

    Joined:
    Aug 18, 2004
    Messages:
    31
    Likes Received:
    0
    Location:
    Darwen UK
    Many thanks for the swift reply guys.
    Do both of these insert the time taken from the server on which the website is hosted?
    The problem is to insert the time and date of the viewer and not the server?

    Jim
     
    Jim, Aug 20, 2005
    #4
  5. Jim

    Fenis-Wolf VIP Member

    Joined:
    Apr 30, 2003
    Messages:
    2,951
    Likes Received:
    35
    Location:
    Ann Arbor, Mi
    Javascript takes the date and time from the viewers own computer. Javascript doesn't really know much about the server.
     
    Fenis-Wolf, Aug 21, 2005
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.