Assignment012a

JavaScript - Date() - The Day

JavaScript comes prebuilt with several objects for you to use. One of the objects is the Date() object. You can use the Date() object to display the user's computer day and time. Here's how you go about it:

Create a variable to hold the Date() object

Use the Date() object methods (actions) to get parts of the day

Use the concatination symbol + to put the parts together.