If you record beyond the end of a scene, it will extend the scene length to include it. So extending is fairly easy, but you cannot shorten it this way.
If you single click on a scene in the project panel, the properties panel has a Duration property. You can set it to a precise value there.