Changing time for sleep.