I need to return an array of post dates in wordpress. So basically if I have 10 posts in wordpress, I need to create an array that will return the date that each of the tens posts were created. I don't need the list to be ordered nor contain any other content. Pretty simple right?!
Something like this:
$myarray = array();
query_posts();
// The Loop
while ( have_posts() ) : the_post();
$my_array = the_time('j');
endwhile;
I have attempted many different methods to accomplish this but they have all more or less failed. Any ideas?