Andrew F. Ehat and Lyndon W. Cook discuss Joseph's comments about the Second Coming from February 14, 1835; conclude Joseph did not believe the Second Coming would not take place until at least 1890.
Andrew F. Ehat and Lyndon W. Cook, The Words of Joseph Smith: The Contemporary accounts of the Nauvoo discourses of the Prophet Joseph (Orem, UT: Grandin Book Company, 1991), 273n14
The Saints felt it a great advantage to have a prophet. For Joseph Smith's negative prophecy that Christ would not come before 1890 was an effective counterpoint to the fanaticism of an equally zealous and very popular millennarian movement led by William Miller. Although the Saints thought that Miller had predicted that the Second Coming would occur on 3 April 1843, just three days before this discourse was delivered (History of the Church, 5:326), actually Miller had predicted it could be as much as a year and a half later. Nevertheless, this was still not long enough time, for according to the Lord's voice to Joseph Smith the Second Coming would not be before 1890.