I try to get a meal in about an hour before I train - nothing too heavy though.
As for afterwards, post workout nutrition is extremely important. Best idea is to have a PWO protien shake immediately after you train or, failing that, within 30mins of finishing. After that, I usually eat after about 60 - 90mins