october 31 1864