Jonah 4:8 And it came to pass, when the sun did arise, that God prepared a vehement east wind; and the sun beat upon the head of Jonah, that he fainted, and
wished in himself to die, and said, It is better for me to die than to live.
DC 26:Intro SECTION 26
The first paragraph of this revelation was given to Joseph Smith, Jr., early in August 1830 at Harmony, Pennsylvania, and was written down at that time. It was given through the personal ministry of a "heavenly messenger" as Joseph was seeking wine for the Sacrament which he and his wife and John Whitmer (Joseph's secretary at the time)
wished to share with Newel Knight and his wife. Mrs. Smith and Mrs. Knight had just been confirmed. The "Book of Commandments" gives the date of this revelation as September 4, 1830. This was probably when the later paragraphs of the revelation were received.
____________________