Divide 1,000,000 by 10 to find how many of those 5 seconds blocks of time you need.
1000000/10 = 100,000.
You need 100,000 blocks of 5 seconds each.
100,000 * 5 gives you the total amount of time.
100000*5=500000
It will take 500,000 seconds.
Convert to days.
Seconds to minutes: 500,000/60
500000/60=8333.3333 (it's 3s forever)
Minutes to hours: 8333.3333/60
8333.3333/60=138.8888 (it's 8s forever)
Hours to days: 138.8888/24
138.8888/24=5.787037037 (it's 037s forever)
The (nearly) exact answer is 5.787 days.
The answer in whole days is 6 days.