Minor change
Validation for minutes was missing
Time.js now features a getDay() method
Refactored time function
Removed commented out code
Renamed function
Refactored code
Refactored code
Added documentation