I've got a loop that shows the most recent posts. I wish to alter the part that states: . get_comments_number($question->ID) . and rather than that will get the date. (<?php the_time('F j, Y') ?>)

This is actually the loop:

$loophtml = $loophtml . "<span class='list-number-answers'>" . get_comments_number($question->ID) . " comentarios</span>&nbsp;&#183;&nbsp<a href='" . get_permalink($question->ID) ."'>Comentar</a>";

I am unsure how you can add ($question->ID) towards thetime. Could anybody produce a hands? Thanks

I believe you're searching for [cde], it returns time for any specific date:

get_the_time

[cde] are only able to be utilized in The Loop.