Welcome to the (extremely) minimal working example for the Exam II practice questions. Check the source and console to see the functions and results.
Note that there are several ways of accomplishing each task. If you did something different, but it works with no errors, then consider it correct!
Here's the result of the time function, done in two ways. The first meets the requirement, the second is formatted a bit: