Codex

Function Reference/get comment time

This page is marked as incomplete. You can help Codex by expanding it.

Contents

Description

Retrieve the comment time of the current comment.

Usage

<?php get_comment_time$d$gmt false$translate true ); ?>

Parameters

$d
(string) (optional) The format of the time
Default: WordPress default time setting
$gmt
(boolean) (optional) Whether to use the GMT date
Default: false
$translate
(boolean) (optional) Whether to translate the time (for use in feeds)
Default: true

Return Values

(string) 
The formatted time

Examples

Notes

Change Log

Since: 1.5.0

Source File

get_comment_time() is located in wp-includes/comment-template.php

Related