No matter what type of web site you're going to create, it's always nice to add the date to the page. This gives the impression that the site is up to date.
This section contains two types of date scripts. The first is going to insert the date
onto your page showing month and year, like this:
EXAMPLE "A" --> July 27, 2006
The second script will insert the date onto your page showing day,
month and year, like this:
EXAMPLE "B" --> Thursday July 27, 2006
Choose which of the scripts you want to use, either "A" or "B" and get the code below.
Step Two: To Add Script Example "A"
Step 2.1: To add the script to your page you need to open your HTML page in Dreamweaver or FrontPage.
Step 2.2: Then insert the following script
in the <HEAD> and </HEAD> section of your page by choosing "SELECT CODE", then hit CTRL & C on your keyboard to "copy" it:
Step 2.3:Now go to your HTML page and key the mouse cursor right where you want the date to appear, then hit "CTRL" and "V" on the keyboard to PASTE it into your page.
Step 2.4: Next you need to choose "SELECT CODE" using the button below, then hit CTRL & C on your keyboard to "copy" it:
Step 2.5: Insert the code between the <BODY> and </BODY> section
where you wish the date to appear in the page by hitting "CTRL" and "V" on your keyboard which will PASTE it into the page.
Step 2.6: Now click FILE: SAVE to save the changes to your page.
Step Three: To Add Script Example "B"
Step 3.1: To add the script to your page you need to open your HTML page in Dreamweaver or FrontPage.
Step 3.2: Then insert the following script
in the <HEAD> and </HEAD> section of your page by choosing "SELECT CODE", then hit CTRL & C on your keyboard to "copy" it:
Step 3.3:Now go to your HTML page and key the mouse cursor right where you want the date to appear, then hit "CTRL" and "V" on the keyboard to PASTE it into your page.
Step 3.4: Now click FILE: SAVE to save the changes to your page.
Step Four: Test the Date Script
Finally you need to PREVIEW your page to see what the script looks like and to make sure it's working correctly.
So click FILE: PREVIEW IN BROWSER --> Choose the browser you use, either Internet Explorer, Firefox, or other.
You can see the date script in action on the screen capture below:
As long as you see the date appearing where you pasted it into your page, you're all set!