diff -Naur download_count/includes/download_count.export.inc download_count.range-fix/includes/download_count.export.inc
--- download_count/includes/download_count.export.inc	2011-06-29 13:55:30.000000000 -0700
+++ download_count.range-fix/includes/download_count.export.inc	2011-07-13 10:11:24.000000000 -0700
@@ -127,6 +127,9 @@
   else {
     $from = strtotime($start['year'] . '-' . $start['month'] . '-' . $start['day']);
     $to = strtotime($end['year'] . '-' . $end['month'] . '-' . $end['day']);
+    if ($from == $to) {
+      $to += 86400;
+    }
     if ($file_info == 'all') {
       $result = db_query("SELECT dc.dcid, dc.fid, dc.nid, dc.uid, dc.ip_address, dc.referrer, dc.timestamp, f.filename, f.filesize, u.name FROM {download_count} dc JOIN {files} f ON dc.fid = f.fid JOIN {users} u ON dc.uid = u.uid WHERE dc.timestamp >= %d AND dc.timestamp <= %d ORDER BY f.filename", $from, $to);
     }
