Time Calculator project from freeCodeCamp. View full directions here.
Uses 'add_time' function to output a finish time, given a starting time and a duration as input.
Instructions:
-
input parameters:
- (required) start time in 12-hour format (including AM or PM)
- (required) duration time, in hours and minutes
- (optional) day of the week
Sample input: add_time("11:30 AM", "2:32", "Monday")