Solved

Auto update date & time on webpage

Posted on 2008-06-11
6
1,300 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Google Analytics - viewing a page 10 80
CSS for Popup in ASP.NET 4 44
Boolean 13 46
regular gmail; not g-suite. one label. 11 46
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

738 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