original_string: function mdatetime($time = '', $timezone = '', $datetime_format = '') {
  		if ($datetime_format == '') {
  			$datetime_format = $this->dateFormat . ' ' . $this->timeFormat;
  		}
  		if ($time == '') {
  			$time = 'now';
  		}
  		if ($timezone == '') {
  			$timezone = $this->timeZone;
  		}
  		$utc = new \DateTimeZone($timezone);
  		$dt = new \DateTime($time, $utc);
  		return $dt->format($datetime_format);
  	}
code: function mdatetime($time = '', $timezone = '', $datetime_format = '') {
  		if ($datetime_format == '') {
  			$datetime_format = $this->dateFormat . ' ' . $this->timeFormat;
  		}
  		if ($time == '') {
  			$time = 'now';
  		}
  		if ($timezone == '') {
  			$timezone = $this->timeZone;
  		}
  		$utc = new \DateTimeZone($timezone);
  		$dt = new \DateTime($time, $utc);
  		return $dt->format($datetime_format);
  	}
code_tokens: function mdatetime ( $ time = '' , $ timezone = '' , $ datetime_format = '' ) { if ( $ datetime_format == '' ) { $ datetime_format = $ this -> dateFormat . ' ' . $ this -> timeFormat ; } if ( $ time == '' ) { $ time = 'now' ; } if ( $ timezone == '' ) { $ timezone = $ this -> timeZone ; } $ utc = new \ DateTimeZone ( $ timezone ) ; $ dt = new \ DateTime ( $ time , $ utc ) ; return $ dt -> format ( $ datetime_format ) ; }
docstring: Return date and time based on the datetime format
docstring_tokens: Return date and time based on the datetime format