Hi Sara,
SAM's user interface is designed to run simulations over a complete year (or complete years for the PV models). If you are interested in a period of time less than a year, you can ignore the results for the rest of the time. For example, if you have weather data for the first two weeks in May, you could insert that data into a weather file that covers the entire year, and then ignore results for times outside of that period.
Another approach would be to use the SAM Software Development Kit (SDK) to run simulations one time step at a time. That is possible for some of the performance models. The SDK includes wrappers for a variety of programming languages, and also includes a Python package called PySAM. For more on the SAM SDK and PySAM see:
sam.nrel.gov/software-development-kit-sdk.html.
Best regards,
Paul.