FWIW, the Cateye Strada will total your miles from the rear wheel, allowing you to account for miles on a trainer.
I've also done as Beanz suggests but really only use that for general purposes.
That said ... indoor trainer miles aren't something to scoff at, particularly here in the northern climates. Three months on an indoor trainer versus three months sitting on your ass is a big difference