the compound interest formula is given by

where A is the amount you will have, P is the principal, r is the annual interest rate, n is the amount of times the interest is compounded per time period, and t is the amount of time.
In our case, we need to find the time t. Then, by moving the Principal to the left hand side, we get

By applying natural logarithm on both sides, we get

now, we can isolate t as

Now, we can substitute our given values into this expression. It yields,

which gives

then, the time (in years) is

Now, we must convert this result in months. Since 1 year has 12 months, we have

that is, the answer is 10.56 months