HanSewLow: If by "ran out of time" you mean you did not attend to a plot-critical quest in time (e.g., the troll invasion), then it's game over. Your option is to load an earlier save and deal with it before some sidequests, or starting a new game entirely.
If you mean you reached the end of the game and don't have time to finish sidequests, then you'll have to try them on another playthrough.
There are mods on the Pathfinder Kingmaker Nexus that will allow you to play with the game clock, although a straight out reset (if any actually support that) could cause issues.
I finished the main quest but I did not have time to explorer the stolen lands, I guess.....