Langsam wird's haarig... ![]()
Ich kanns grade nicht testen, aber so in der Art:
PHP
$ts_comment = strtotime( $comment->comment_date );
$ts_start = strtotime( '2007-09-03 00:00' );
$ts_end = strtotime( '2007-09-06 23:59' );
if ( $ts_comment >= $ts_start && $ts_comment <= $ts_end) { ... }
Prinzip verstanden? Kann sein, dass du das Datum anders formatieren musst, guck am besten mal in die Doku u. die Kommentare zu strtotime() und date()