Solved

Auto update date & time on webpage

Posted on 2008-06-11
6
1,296 Views
Last Modified: 2008-06-14
I would like to have shows update date & time on my webpage? What codes should I put to get me the update date & time?
0
Comment
Question by:rowfei
6 Comments
 
LVL 3

Expert Comment

by:NIMTUG_Simon
ID: 21764852
Do you mean the current Date Time which updates it self like a clock or are you talking about the last updated date of a record?
0
 

Author Comment

by:rowfei
ID: 21764883
Sorry, I mean the current date & time which updates it self.
0
 
LVL 3

Assisted Solution

by:NIMTUG_Simon
NIMTUG_Simon earned 150 total points
ID: 21765053
You would basically write a Javascript script which runs itself ever second

e.g. http://javascript.internet.com/time-date/date-clock-internet-time.html
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 2

Assisted Solution

by:mekh
mekh earned 150 total points
ID: 21766557
This should help you if you are looking simple time and date in your website using javascript:

http://dynamicdrive.com/dynamicindex6/index.html

You can also use PHP or ASP for auto date and time in your website.
0
 
LVL 31

Accepted Solution

by:
James Murrell earned 200 total points
ID: 21766734
personally i use this

<SCRIPT LANGUAGE="JavaScript">  <!-- hide script begin var m = "Page lastupdated
" + document.lastModified; var p = m.length-8; document.writeln("<center>");
document.write(m.substring(p, 0)); document.writeln("</center>");
// End --> </SCRIPT>
0
 

Author Comment

by:rowfei
ID: 21785816
Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Office 365 Pass Username an Password in URL 3 45
Error in JQuery 5 39
Objects on Same Line 2 18
CSS issue 8 0
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now