Error checking on dates

Rudimentary error checking on starting and ending times; need to add
checking to make sure the end is after the start