Checks for start time and end time of current session