Warp engines make a little stable bubble of space and shift what's around it, so onboard time matches galaxy time, and you can jaunt a significant way across the galaxy and still be home in a few years Earth time.
Link to the Alcubierre Drive - http://en.wikipedia.org/wiki/Alcubierre_drive