checkTimeMethod