Photon detector: a moment in time