?
Solved

Auto update date & time on webpage

Posted on 2008-06-11
6
Medium Priority
?
1,321 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 600 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
WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

 
LVL 2

Assisted Solution

by:mekh
mekh earned 600 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 800 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
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).
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.

771 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