The battle lasted about 8 hours. The Information Officer was killed in the initial attack. It is unclear when the Ambassador was killed or under what circumstances.
Doherty and Woods bled out while still fighting seven hours later.
The president was aware because Panetta told him at the beginning of the battle. Then the president washed his hands and disappeared for eight hours. He abandoned them to die. Then he lied about it for nearly three weeks.