Let A(0) denote the initial amount of bacteria and A(t) the amount of bacteria after t hours of exposion to sun light.

After 1 h there remains 90% of the bacteria. After t hours remains of the bacteria.

You know that

Use the equation

plug in the values you know and solve for t.

I've got t is roughly 6h 35 min