On the first day, it rained for 17:00 - 7:00 = 10 hours
On the second day, it 10 hours + 2 hours = <<10+2=12>>12 hours for the rain to stop
It rained for 2 * 12 hours = <<2*12=24>>24 hours on the third day.
In the three days, it was raining for 24 hours + 12 hours + 10 hours = <<24+12+10=46>>46 hours.
#### 46