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.
It dawned on him that it was the fifteenth of the month and rent was had been paid weeks ago.