Using Blackboard complete the In Class Exercise Assignment. Download your Homework project and being working on it with your remaining time.
Use a runtime script and document.write( ) to output the requested results.
Create and display a new Date object called today using an alert method. Today is:
Create and dispaly a new Date object called yesterday, with yesterday's date. Yesterday was:
Create and display a new Date object called tomorrow, with tomorrow's date. Tomorrow is:
Create and display a new Date object called oneWeek with the date one week from today. One week from today is:
Create and dispaly a new Date object called tenDays with the date 10 days from today. 10 Days from today is:
The current day is:
The current day of the week is:
The current month
The current year is:
Format today's date into mm/dd/yyyy and display:
Format today's date into dd/mm/yyyy and display: