modify time validate