Dreamweaver CS4 Resources
|
Insert 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.
Note: The
dates and times shown in the Insert Date dialog box are not the
current date, nor do they reflect the dates/times that a visitor
sees when they display your site. They are examples only of the
way you want to display this information.
- In the Document window, place the insertion point
where you want the date to be inserted.
- Do one of the following:
- 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.
- 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.
- Click OK to insert the date.
 If you have selected Update Automatically
On Save, you can edit the date format after it has been inserted
into the document by clicking on the formatted text and selecting
Edit Date Format in the Property inspector.
|