From b1ec29e1f220e64a6b2ac73d95b847b0b9033a9d Mon Sep 17 00:00:00 2001 From: Greg Froese Date: Sat, 6 Jun 2009 13:23:32 +0000 Subject: fixed daily timestamp generation --- mostcommentedimagestoday.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mostcommentedimagestoday.php') diff --git a/mostcommentedimagestoday.php b/mostcommentedimagestoday.php index ce0ad8aeb..066feb45e 100644 --- a/mostcommentedimagestoday.php +++ b/mostcommentedimagestoday.php @@ -16,7 +16,7 @@ //find timestamps for today $time_info = new stdClass(); - $time_info->start = mktime(0,0,0, date("m"), 1, date("Y")); + $time_info->start = mktime(0,0,0, date("m"), date("d"), date("Y")); $time_info->end = mktime(); //this works but is wildly inefficient -- cgit v1.2.3