millis() affected by sleep_mode()?

How does the sleep_mode affect the value returned by millis()?

All of the diagnostic work I have been doing has come down to some interaction between sleep_mode and millis(). I think.