Finished checkTime and checkDay functions

checkTime and checkDay now work correctly.