july 31 1864