Marketing and Communications

794 University Ave., Suite 237
Fairbanks, AK 99709

P.O. Box 757505
University of Alaska Fairbanks
Fairbanks, AK 99775

Phone: 907-474-6281
Fax: 907-474-6283
Email: marketing@uaf.edu


Automatic modification date

Using Roxen

To include the last modified date, simply insert a footer component by clicking on Insert and choosing Footer. This displays the date and time the page was last updated and lists the person who did so.

Using Dreamweaver

If you are using Dreamweaver, adding an automated modification date is very simple. The date change occurs within Dreamweaver and does not work if you are using other web editing programs.

  1. Type a line of text to later include the date. Change "Department Web Developer" to the name of your department and make it a mailto link:

    Last modified by Department Web Developer
     
  2. Insert your cursor after " by ", then go to the INSERT menu item and select DATE.
  3. Choose the format you want to use and check UPDATE AUTOMATICALLY ON SAVE. Click OK and the date will be inserted where your cursor was positioned.

Javascript Code

Example: Last updated 12/15/2008 08:59:46 by Department Web Developer.

Cut and paste the code in between the lines below. Be aware that you may not be able to see the date while working on the document but it will display once it is uploaded to the server if using modern browsers. Be sure to replace department with the correct e-mail address and name.


Last updated <script type="text/javascript">
<!--
document.write(document.lastModified);
//--></script> by <a href="mailto: department@uaf.edu">Department Web Developer.</a>