The pulse width of hard undulator radiation (32 ps width, energy 14 keV) was determined by intensity interferometry. The method, in combination with various x-ray monochromators, enables measurements to be taken over a wide range of time frames, from ns to fs. The applicable target includes measurements of ultrafast x-ray pulse widths from fourth generation synchrotron light sources.