src/Bigcommerce/Api/Client.php
public static function getTime()
    {
        $response = self::connection()->get(self::$api_path . '/time');

        if ($response == false || is_string($response)) {
            return $response;
        }

        return new \DateTime("@{$response->time}");
    }
public static function getTime()
    {
        $response = self::connection()->get(self::$api_path . '/time');

        if ($response == false || is_string($response)) {
            return $response;
        }

        return new \DateTime("@{$response->time}");
    }
public static function getTime ( ) { $ response = self :: connection ( ) -> get ( self :: $ api_path . '/time' ) ; if ( $ response == false || is_string ( $ response ) ) { return $ response ; } return new \ DateTime ( "@{$response->time}" ) ; }
Pings the time endpoint to test the connection to a store.

@return \DateTime
Pings the time endpoint to test the connection to a store .