I had been wishing to obtain ideas as the way i could possibly get numerous posts which have been published on our blog BUT inside a certain time frame. I understand how to obtain final amount but need this extra functionality.

This is exactly what I've to get final amount of posts:

$numposts = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_status = 'publish'");
if (0 < $numposts) $numposts = number_format($numposts);

I Quickly just echo out anywhere I wish to display time

<?php if ( is_page('wordpress-numbers')) {
echo "<strong>".$numposts.' posts have been published since August 12, 2009'."</strong>";
}
?>

For instance I wish to know the amount of posts within the last seven days. Maybe make use of a datepicker of sorts?

Thanks,

Matt

Sure, you could do this it by setting to start dating ? range inside a custom query:

$today = date("Y-m-d");
$sevenDaysAgo = date("Y-m-d", mktime(0, 0, 0, date("m")  , date("d")-7, date("Y")));

$querystr = "
    SELECT wposts.*
    FROM $wpdb->posts wposts,
    WHERE wposts.post_date BETWEEN '" . $today . "' AND '" . $sevenDaysAgo . '" 
    AND wposts.post_type = 'post'
    ORDER BY wposts.post_date DESC
";

Okay because of Pat he got me thinking here and that i emerged with this particular:

$querystr = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_status = 'publish' AND post_type = 'post' AND post_date >= DATE_SUB(CURRENT_DATE, INTERVAL 7 DAY) LIMIT 0, 30");
if (0 < $querystr) $querystr = number_format($querystr);

I Quickly will just echo the result:

echo "<strong>".$querystr.' posts have been published in the last 7 days'."</strong>";

The following factor I must do is add a chance to pick the start date then show recent results for individuals 7days.

Many thanks Pat