title: WordPress:- get_the_date() function returning a wrong date
body: <p>This is a Word Press/PHP question (very beginner, I guess). I'm trying to insert a link to the latest blog post followed by a posted date using the following code.</p>
  
  <pre><code>&lt;div class="latest_post"&gt;
      &lt;ul&gt;&lt;li&gt;&lt;span class="recent_blog"&gt;LATEST POST&lt;/span&gt;&lt;?php
      $args = array(
          'numberposts' =&gt; 1,
          'category' =&gt; 71,
          'post_status' =&gt; 'publish',
      );
      $recent_posts = wp_get_recent_posts( $args );
      foreach( $recent_posts as $recent ) {
          echo '&lt;a href="' . get_permalink($recent["ID"]) . '"&gt; &lt;strong&gt;' .   $recent["post_title"].'&lt;/strong&gt;&lt;/a&gt;';
      }
      wp_reset_query();
      ?&gt; (&lt;?php echo get_the_date('Y/m/d'); ?&gt;)&lt;/li&gt;&lt;/ul&gt;
  &lt;/div&gt;&lt;!-- .latest_post --&gt;
  </code></pre>
  
  <p>However, <code>&lt;?php echo get_the_date('Y/m/d'); ?&gt;</code> returns a wrong date "(2015/04/23)" which I have no idea where it came from. It's supposed to be (2017/01/02). Could anyone help me find out where it went wrong? Or, any other way to get the correct date fetched? </p>
  
  <p>Thank you in advance!</p>