original_string: public function datetime($datetime, $timezone = null, $format = 'M/d/Y - h:i:s A')
      {
          $datetime = new \DateTime($datetime);
  
          if($timezone) {
  
              $datetime->setTimezone(new \DateTimeZone($timezone));
          }
  
          return $datetime->format($format); 
      }
code: public function datetime($datetime, $timezone = null, $format = 'M/d/Y - h:i:s A')
      {
          $datetime = new \DateTime($datetime);
  
          if($timezone) {
  
              $datetime->setTimezone(new \DateTimeZone($timezone));
          }
  
          return $datetime->format($format); 
      }
code_tokens: public function datetime ( $ datetime , $ timezone = null , $ format = 'M/d/Y - h:i:s A' ) { $ datetime = new \ DateTime ( $ datetime ) ; if ( $ timezone ) { $ datetime -> setTimezone ( new \ DateTimeZone ( $ timezone ) ) ; } return $ datetime -> format ( $ format ) ; }
docstring: Set Date and Time
docstring_tokens: Set Date and Time