original_string: public function datetime($value): bool
      {
          if (!is_scalar($value)) {
              return false;
          }
  
          if (is_numeric($value)) {
              return true;
          }
  
          return (int)strtotime($value) != 0;
      }
code: public function datetime($value): bool
      {
          if (!is_scalar($value)) {
              return false;
          }
  
          if (is_numeric($value)) {
              return true;
          }
  
          return (int)strtotime($value) != 0;
      }
code_tokens: public function datetime ( $ value ) : bool { if ( ! is_scalar ( $ value ) ) { return false ; } if ( is_numeric ( $ value ) ) { return true ; } return ( int ) strtotime ( $ value ) != 0 ; }
docstring: Value has to be valid datetime definition including numeric timestamp.
  
  @param mixed $value
  
  @return bool
docstring_tokens: Value has to be valid datetime definition including numeric timestamp .