Languages: English • 日本語 • (Add your language)
Displays the time a comment was posted. This tag must be within The Loop, or a comment loop.
Use get_comment_time() to retrieve the value.
<?php comment_time( $d ); ?>
None. Echoes the return of get_comment_time().
Displays the current comment time in the format "22:04:11".
<p>comment timestamp: <?php comment_time('H:i:s'); ?></p>
Since: 0.71
comment_time() is located in wp-includes/comment-template.php