I was reading about atomic clocks when I came to know that precise measurements of time have shown that the time for earth's rotation is slightly more that 24 hrs (on the order of 10^-3). I was wondering if this will lead to a situation in the far future where atomic clocks will report a time (say 10 am) which will not match with the time indicated by the position of the sun( directly overhead indicating noon). because they will begin to lag behind as a rotation is longer than 24 hrs(assuming no improvements in timekeeping)
Is my reasoning correct? If yes, then how do scientists ensure that such a discrepancy doesn't occur?