Is there a replacement method for the_date()? I am creating an array of posts with
'id'=>get_the_id(), 'date'=>the_date('','','',FALSE)
but this doesn't work, because the_date() returns the value only once. I can't use the_time() either because there is no option to return the value, only echo it.