diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php
index d521a64eab..eb2710efe3 100644
--- a/src/wp-includes/general-template.php
+++ b/src/wp-includes/general-template.php
@@ -2301,9 +2301,9 @@ function get_the_date( $d = '', $post = null ) {
 	}
 
 	if ( '' == $d ) {
-		$the_date = mysql2date( get_option( 'date_format' ), $post->post_date );
+		$the_date = get_post_time( get_option( 'date_format' ), false, $post, true );
 	} else {
-		$the_date = mysql2date( $d, $post->post_date );
+		$the_date = get_post_time( $d, false, $post, true );
 	}
 
 	/**
