comment_date
comment_date ( $format = '', $comment_id = 0 )
Parameters:- (string) format Optional. PHP date format. Defaults to the 'date_format' option.
- (int|WP_Comment) comment_id WP_Comment or ID of the comment for which to print the date. Default current comment.
Defined at:Change Log: - Introduced in WordPress: 0.71
- Deprecated in WordPress: —
Description
Displays the comment date of the current comment.