An antibody test performed on blood obtained from a vein can detect HIV within 18 to 45 days of exposure.