If the air is not moving the same as the ground, it’s called wind, which is the primary influence on flight time. The wind is influenced by the Earth’s rotation, but the rotation doesn’t directly influence flight time.