public static function version($version, $format = "Y-m-d h:i:s")
  {
    if(!$version instanceof TeamSpeak3_Helper_String)
    {
      $version = new TeamSpeak3_Helper_String($version);
    }

    $buildno = $version->section("[", 1)->filterDigits()->toInt();

    return ($buildno <= 15001) ? $version : $version->section("[")->append("(" . date($format, $buildno) . ")");
  }
public static function version($version, $format = "Y-m-d h:i:s")
  {
    if(!$version instanceof TeamSpeak3_Helper_String)
    {
      $version = new TeamSpeak3_Helper_String($version);
    }

    $buildno = $version->section("[", 1)->filterDigits()->toInt();

    return ($buildno <= 15001) ? $version : $version->section("[")->append("(" . date($format, $buildno) . ")");
  }
public static function version ( $ version , $ format = "Y-m-d h:i:s" ) { if ( ! $ version instanceof TeamSpeak3_Helper_String ) { $ version = new TeamSpeak3_Helper_String ( $ version ) ; } $ buildno = $ version -> section ( "[" , 1 ) -> filterDigits ( ) -> toInt ( ) ; return ( $ buildno <= 15001 ) ? $ version : $ version -> section ( "[" ) -> append ( "(" . date ( $ format , $ buildno ) . ")" ) ; }
Returns a client-like formatted version of the TeamSpeak 3 version string.

@param  string $version
@param  string $format
@return string
Returns a client - like formatted version of the TeamSpeak 3 version string .