What the president knows and when he knew it