Solved

Auto update date & time on webpage

Posted on 2008-06-11
6
1,295 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Read about why website design really matters in today's demanding market.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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 viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

706 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

18 Experts available now in Live!

Get 1:1 Help Now