Starting to implement toTime() and fromTime().
Implemented fromTime)(), toTime(), and checkTime().