user13138: In which text first time "Gautama leaving Yashodhara for searching truth" story is found to be written?
 This text was written how many years after death of Buddha?

user8157: Gotama left his extended family, clan or royal lineage rather than merely Yashodhara. The earliest Pali suttas never mention Yashodhara but only Gotama's mother & father. 

So, at a later time, while still young, a black-haired young man endowed with the blessings of youth in the first stage of life — and
  while my parents, unwilling, were crying with tears streaming down
  their faces — I shaved off my hair & beard, put on the ochre robe and
  went forth from the home life into homelessness.
Ariyapariyesana Sutta: The Noble Search

It seems Gotama has no interest in sex and women. The scriptures are not written like a modern romance novel or Hollywood movie. 

Monks, I lived in refinement, utmost refinement, total refinement. My father even had lotus ponds made in our palace: one where red-lotuses
  bloomed, one where white lotuses bloomed, one where blue lotuses
  bloomed, all for my sake. I used no sandalwood that was not from
  Varanasi. My turban was from Varanasi, as were my tunic, my lower
  garments, & my outer cloak. A white sunshade was held over me day &
  night to protect me from cold, heat, dust, dirt, & dew.
I had three palaces: one for the cold season, one for the hot season, one for the rainy season. During the four months of the rainy season I
  was entertained in the rainy-season palace by minstrels without a
  single man among them, and I did not once come down from the palace.
  Whereas the servants, workers, & retainers in other people's homes are
  fed meals of lentil soup & broken rice, in my father's home the
  servants, workers, & retainers were fed wheat, rice, and meat.
Even though I was endowed with such fortune, such total refinement, the thought occurred to me: 'When an untaught, run-of-the-mill person,
  himself subject to aging... illness... death, not beyond aging, sees
  another who is aged, he is horrified, humiliated & disgusted,
  oblivious to himself that he too is subject to aging, not beyond
  aging. If I — who am subject to aging, not beyond aging — were to be
  horrified, humiliated & disgusted on seeing another person who is
  aged... ill... dead, that would not be fitting for me.' As I noticed
  this, the [typical] young person's intoxication with youth entirely
  dropped away.
Sukhamala Sutta: Refinement


13138: <p>In which text first time "Gautama leaving Yashodhara for searching truth" story is found to be written?
 This text was written how many years after death of Buddha?</p>
 8157: <p>Gotama left his extended family, clan or royal lineage rather than merely Yashodhara. The earliest Pali suttas never mention Yashodhara but only Gotama's mother &amp; father. </p>

<blockquote>
  <p><em>So, at a later time, while still young, a black-haired young man endowed with the blessings of youth in the first stage of life — and
  while my parents, unwilling, were crying with tears streaming down
  their faces — I shaved off my hair &amp; beard, put on the ochre robe and
  went forth from the home life into homelessness.</em></p>
  
  <p><a href="https://www.accesstoinsight.org/tipitaka/mn/mn.026.than.html" rel="nofollow noreferrer"><em>Ariyapariyesana Sutta: The Noble Search</em></a></p>
</blockquote>

<p>It seems Gotama has no interest in sex and women. The scriptures are not written like a modern romance novel or Hollywood movie. </p>

<blockquote>
  <p><em>Monks, I lived in refinement, utmost refinement, total refinement. My father even had lotus ponds made in our palace: one where red-lotuses
  bloomed, one where white lotuses bloomed, one where blue lotuses
  bloomed, all for my sake. I used no sandalwood that was not from
  Varanasi. My turban was from Varanasi, as were my tunic, my lower
  garments, &amp; my outer cloak. A white sunshade was held over me day &amp;
  night to protect me from cold, heat, dust, dirt, &amp; dew.</em></p>
  
  <p><em>I had three palaces: one for the cold season, one for the hot season, one for the rainy season. During the four months of the rainy season I
  was entertained in the rainy-season palace by minstrels without a
  single man among them, and I did not once come down from the palace.
  Whereas the servants, workers, &amp; retainers in other people's homes are
  fed meals of lentil soup &amp; broken rice, in my father's home the
  servants, workers, &amp; retainers were fed wheat, rice, and meat.</em></p>
  
  <p><em>Even though I was endowed with such fortune, such total refinement, the thought occurred to me: 'When an untaught, run-of-the-mill person,
  himself subject to aging... illness... death, not beyond aging, sees
  another who is aged, he is horrified, humiliated &amp; disgusted,
  oblivious to himself that he too is subject to aging, not beyond
  aging. If I — who am subject to aging, not beyond aging — were to be
  horrified, humiliated &amp; disgusted on seeing another person who is
  aged... ill... dead, that would not be fitting for me.' As I noticed
  this, the [typical] young person's intoxication with youth entirely
  dropped away.</em></p>
  
  <p><a href="https://www.accesstoinsight.org/tipitaka/an/an03/an03.038.than.html" rel="nofollow noreferrer"><em>Sukhamala Sutta: Refinement</em></a></p>
</blockquote>
