public function getServerTime()
    {
        $response = $this->getConnection()->get(Urls::URL_ADMIN_TIME);
        $data     = $response->getJson();

        return $data['time'];
    }
public function getServerTime()
    {
        $response = $this->getConnection()->get(Urls::URL_ADMIN_TIME);
        $data     = $response->getJson();

        return $data['time'];
    }
public function getServerTime ( ) { $ response = $ this -> getConnection ( ) -> get ( Urls :: URL_ADMIN_TIME ) ; $ data = $ response -> getJson ( ) ; return $ data [ 'time' ] ; }
Get the server time

This will throw if the time cannot be retrieved

@throws Exception

@return double - a double holding the timestamp
@since 1.2
Get the server time