php-binance-api.php
public function useServerTime()
    {
        $request = $this->httpRequest("v1/time");
        if (isset($request['serverTime'])) {
            $this->info['timeOffset'] = $request['serverTime'] - (microtime(true) * 1000);
        }
    }
public function useServerTime()
    {
        $request = $this->httpRequest("v1/time");
        if (isset($request['serverTime'])) {
            $this->info['timeOffset'] = $request['serverTime'] - (microtime(true) * 1000);
        }
    }
public function useServerTime ( ) { $ request = $ this -> httpRequest ( "v1/time" ) ; if ( isset ( $ request [ 'serverTime' ] ) ) { $ this -> info [ 'timeOffset' ] = $ request [ 'serverTime' ] - ( microtime ( true ) * 1000 ) ; } }
useServerTime adds the 'useServerTime'=>true to the API request to avoid time errors

$api->useServerTime();

@return null
@throws \Exception
useServerTime adds the useServerTime = > true to the API request to avoid time errors