Current Time
Warm-up A

    * Create a new document called clock.html.
    * Write a function that gets the current system time and returns a string in the format 5:15:16pm.
    * Write another function that gets the current system date and returns the string in this format:
    day/month/year 4/2/2009.
    * Test and debug. Save the functions in a JavaScript library called time.js.
    * Link time.js to clock.html.
    * Using JS, write the current date to the page.
    * Insert a form with a text field. Label the field Current Time and name it clock.
    * Using setInterval, call the time function periodically (you determine the time) to update the clock.
    * Save, test, debug and upload your files.

Warm-up B

Write the current date in this format: Today is Wednesday, February 4th, 2009. Figure out how to add
the correct extension (February 4th) for the correct date.