Fred has been thinking all day that he needed to do something.
Fred is glad he remembered what he needed to do.
It dawned on him that it was the first of the month and rent was due.
He forgot that it was the first of the month and rent was due.