Yes you are entitled to a hotel if the flight is delayed to after 10pm. However you need to be at airport to get voucher and be rebooked. I forget the length of time the flight must be delayed, but that long I know qualifies. You should have also gone online to see what rebooking options it would give. There booking tool is one of delta online best features.