Inserting dates

Inserting dates

Dreamweaver provides a convenient Date object, which inserts the current date in whatever format you prefer (with or without the time) and provides the option of updating that date whenever you save the file.

To insert the current date into a document:

  1. In the Document window, place the insertion point where you want the date to be inserted.
  2. Do one of the following:
    • Select Insert > Date.
    • In the Common category of the Insert bar, click the Date button.
  3. In the resulting dialog box, select a format for the name of the day of the week, a format for the date, and a format for the time.
  4. If you want the inserted date to be updated every time you save the document, select Update Automatically on Save. If you want the date to become plain text when it’s inserted, and never update automatically, deselect that option.
  5. Click OK to insert the date.


Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Inserting and Formatting Text
Adding Audio, Video, and Interactive Elements
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly