A method for determining a distance from an apparatus to at least one object comprising: generating a first signal; generating light modulated by the first signal from the apparatus; detecting light reflected by the at least one object using a Time-of-flight detector array, by determining (1403, 1405, 1407) by each array element of the Time-of-flight detector array an output signal generated from a series of photon counts over a number of consecutive non-overlapping time periods, wherein the determining (1403, 1405, 1407), by each array element, comprises: sampling a determined number of overlapping clock signals using a photon detection output from the array element, wherein the sampling generates a determined number of sampling outputs; generating a determined number of non-overlapping time periods count increment detections based on consecutive sampling outputs; phase rotating the first signal and phase rotating the determined number of non-overlapping time periods count increment detections, in parallel, to generate a phase rotated determined number of non-overlapping time periods count increment detections; wherein the determined numbers are equal; and incrementing the series of photon counts from the phase rotated determined number of non-overlapping time periods count increment detections to generate the output signal; the method further comprising: comparing the output signals to the first signal to determine at least one signal phase difference; and determining a distance from the apparatus to the at least one object based on the at least one signal phase difference. generating a first signal; generating light modulated by the first signal from the apparatus; detecting light reflected by the at least one object using a Time-of-flight detector array, by determining (1403, 1405, 1407) by each array element of the Time-of-flight detector array an output signal generated from a series of photon counts over a number of consecutive non-overlapping time periods, wherein the determining (1403, 1405, 1407), by each array element, comprises: sampling a determined number of overlapping clock signals using a photon detection output from the array element, wherein the sampling generates a determined number of sampling outputs; generating a determined number of non-overlapping time periods count increment detections based on consecutive sampling outputs; phase rotating the first signal and phase rotating the determined number of non-overlapping time periods count increment detections, in parallel, to generate a phase rotated determined number of non-overlapping time periods count increment detections; wherein the determined numbers are equal; and incrementing the series of photon counts from the phase rotated determined number of non-overlapping time periods count increment detections to generate the output signal; sampling a determined number of overlapping clock signals using a photon detection output from the array element, wherein the sampling generates a determined number of sampling outputs; generating a determined number of non-overlapping time periods count increment detections based on consecutive sampling outputs; phase rotating the first signal and phase rotating the determined number of non-overlapping time periods count increment detections, in parallel, to generate a phase rotated determined number of non-overlapping time periods count increment detections; wherein the determined numbers are equal; and incrementing the series of photon counts from the phase rotated determined number of non-overlapping time periods count increment detections to generate the output signal; the method further comprising: comparing the output signals to the first signal to determine at least one signal phase difference; and determining a distance from the apparatus to the at least one object based on the at least one signal phase difference. comparing the output signals to the first signal to determine at least one signal phase difference; and determining a distance from the apparatus to the at least one object based on the at least one signal phase difference.