How do i convert Youtube published date (ISO 8601) format in javascript or jquery?
<p>I'm using the YouTube Data API for loading videos, and the video upload date is returning in IOS-8601 format:</p>
<blockquote>
<p>2015-04-07T03:00:03.000Z</p>
</blockquote>
<p>how can convert in it into</p>
<blockquote>
<p>dd/mm/yyyy</p>
</blockquote>
<p>or  display it into something like:</p>
<blockquote>
<p>yesterday or 4days ago;</p>
<p>2week ago;</p>
<p>1month ago;</p>
<p>1year ago;</p>
</blockquote>