title: Take published Date with youtube api v3
body: <p>I take publishedAt date but ı need to change date type.
  Now,2017-01-19T14:02:39.000Z
  but I want this type, 19-01-2017,
  my codes,</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>$.get(
   "https://www.googleapis.com/youtube/v3/playlistItems",{
    part : 'snippet',
    maxResults : 20,
    playlistId : pid,
    key : 'AIzaSyBZvGyNmLVPDLPcz_clh8tGxl0_1DRNFFE'},
    function(data) {
     var output;
     $.each(data.items, function(i,item) {
      console.log(item);
      videoTitle = item.snippet.title;
      videoId = item.snippet.resourceId.videoId;
      videoDate = item.snippet.publishedAt;
      videoGorsel = item.snippet.thumbnails.default.url;
      height = item.snippet.thumbnails.default.height;
      width = item.snippet.thumbnails.default.width;</code></pre>
  </div>
  </div>
  </p>