Return the correct next task time for update()