Almost periodicity in time of solutions of the KdV equation