Wookieepedia is a good place to check with questions like this.
Star Wars: Knights of the Old Republic (redirected from Kotor)
The first KotOR game started out great, much in the same mold as the original Star Wars movie now subtitled with A New Hope. The second game got darker in tone, more mature with more shades of gray, but lacked the polish of the first game. Who knows where this Star Wars era is going to go now that The Old Republic MMORPG is on its way?
As far as timeline goes the games are set at about 3955-3950 Before the Battle of Yavin, give or take a year or two.