Languages: English • 日本語 (Add your language)
Displays the date a comment was posted.
Use get_comment_date() to retrieve the value.
<?php comment_date( $d, $comment_ID ); ?>
None. Echoes the return of get_comment_date()
Displays the current comment date in the format "6-30-2004":
<div>Comment posted on <?php comment_date('n-j-Y'); ?></div>
comment_date() is located in wp-includes/comment-template.php