Title: Comments Displaying Wrong Date
Last modified: August 19, 2016

---

# Comments Displaying Wrong Date

 *  Resolved [nickaster](https://wordpress.org/support/users/nickaster/)
 * (@nickaster)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/comments-displaying-wrong-date/)
 * This is very strange. I have the following code in functions.php to display the
   time and author of comments:
 *     ```
       <p class="commentMeta"><?php comment_time('F m, Y');?> at <?php comment_time('G:i a T');?> | <?php comment_author_link();?> writes:</p>
       ```
   
 * But the date displayed is radically wrong. Today’s comments, for example, are
   listed as “August 8”. In the WP back-end the dates are correct, only on the display
   are they wrong.
 * Ideas?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/comments-displaying-wrong-date/#post-1164545)
 * Try using `<?php comment_time('F d, Y');?>`.
 * [http://uk3.php.net/manual/en/function.date.php](http://uk3.php.net/manual/en/function.date.php)
 *  Thread Starter [nickaster](https://wordpress.org/support/users/nickaster/)
 * (@nickaster)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/comments-displaying-wrong-date/#post-1164592)
 * Brilliant! Worked like a charm. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Comments Displaying Wrong Date’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [nickaster](https://wordpress.org/support/users/nickaster/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/comments-displaying-wrong-date/#post-1164592)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
