dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: date and time

  1. #1
    Join Date
    Jun 2013
    Posts
    3

    date and time

    how to display last visited user's date and time in header of the webpage??

  2. #2
    Join Date
    Sep 2008
    Location
    Dallas
    Posts
    154
    You'll probably need to sniff it out with PHP, save that data to a database, then echo that out with a PHP script. HTML won't do it alone.

  3. #3
    Join Date
    Jun 2013
    Posts
    1
    Hi Friend,

    Try the following code:

    <html>
    <head><title>System Date and Time</title></head>
    <body>
    <script language="javascript">
    var date = new Date();
    document.write("<b>System date and Time is:</b> "+ date);
    </script>
    </body>
    </html>

    Thanks

    plushdeco.co.uk

  4. #4
    Join Date
    Sep 2008
    Location
    Dallas
    Posts
    154
    All that's going to do is display the current date in a linux format. It doesn't even begin to address what was asked here.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles