How I can convert Date to String formate.?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/11/how-do-i-calculate-relative-time">How do I calculate relative time?</a>  </p>
</blockquote>



<p>I want to convert Date Value to string formate just like YouTube Videos Uploaded Time or Date for Eg. 2 Years Ago or 1 month ago or 8 houre ago like this just assume I have simple Date as an Output.</p>

<p>Thank you..!!</p>
