WordPress at a glance

comment_time() WP 1.0

Display the comment time of the current comment.

Works based on: get_comment_time()

No Hooks.

Return

Null. Nothing.

Usage

comment_time( $d );
$d(string)
The format of the time.
Default: user's settings

Changelog

Since 0.71 Introduced.

Code of comment time: wp-includes/comment-template.php WP 5.2.2

<?php
function comment_time( $d = '' ) {
	echo get_comment_time( $d );
}

Related Functions

From tag: date time

More from category: Comments Loop

More from Template Tags: Comments

No comments
    Hello, !     Log In . Register