A new scheme for a double-slit experiment in the time domain is presented. Phase-stabilized few-cycle laser pulses open one to two windows (slits) of attosecond duration for photoionization. Fringes in the angle-resolved energy spectrum of varying visibility depending on the degree of which-way information are measured. A situation in which one and the same electron encounters a single and a double slit at the same time is observed. The investigation of the fringes makes possible interferometry on the attosecond time scale. From the number of visible fringes, for example, one derives that the slits are extended over about 500 as.