Index: webform_report.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform_report/Attic/webform_report.inc,v
retrieving revision 1.1.2.27.2.6
diff -u -r1.1.2.27.2.6 webform_report.inc
--- webform_report.inc	18 Jun 2010 20:33:06 -0000	1.1.2.27.2.6
+++ webform_report.inc	23 Sep 2010 20:16:14 -0000
@@ -368,6 +368,39 @@
         $filter_data = strip_tags(strtolower(trim($value['data'])));
         $filter_value = strtolower(trim($filter['value']));
         
+        // flag eq, ne, gt, lt, ge, le compares
+        $cmpflag = (
+          $filter['ftype'] == 5 || $filter['ftype'] == 6 ||
+          $filter['ftype'] == 9 || $filter['ftype'] == 10 ||
+          $filter['ftype'] == 11 || $filter['ftype'] == 12
+        );
+        
+        // see if special date and time processing is required
+        if ($filter['type'] == 'date' && $cmpflag) {
+          // user entered date
+          if ($filter['cid'] > 0) {
+            $filter_data = strtotime($raw[0] .'/'. $raw[1] .'/'. $raw[2]);
+          }
+          // submission date
+          else {
+            $filter_data = strtotime(date('m/d/Y', $raw[0]));
+          }
+          // convert date value to timestamp
+          $filter_value = strtotime($filter_value);
+        }
+        if ($filter['type'] == 'time' && $cmpflag) {
+          // user entered time
+          if ($filter['cid'] > 0) {
+            $filter_data = strtotime($raw[0] .':'. $raw[1]);
+          }
+          // submission time
+          else {
+            $filter_data = strtotime(date('H:m', $raw[0]));
+          }
+          // convert time value to timestamp
+          $filter_value = strtotime($filter_value);
+        }
+        
         // apply filter
         switch($filter['ftype']) {
     
@@ -444,6 +477,20 @@
               $ok = TRUE;
             }
             break;
+            
+          // greater than or equal
+          case 11: 
+            if ($filter_data >= $filter_value) {
+              $ok = TRUE;
+            }
+            break;
+            
+          // less than or equal
+          case 12: 
+            if ($filter_data <= $filter_value) {
+              $ok = TRUE;
+            }
+            break;
           }   // end - switch($filter['type'])...
           
         }   // end - if (array_key_exists($filter['cid'], $data)...
Index: webform_report_criteria.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform_report/Attic/webform_report_criteria.inc,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 webform_report_criteria.inc
--- webform_report_criteria.inc	18 Jun 2010 20:33:06 -0000	1.1.2.2
+++ webform_report_criteria.inc	23 Sep 2010 20:12:08 -0000
@@ -125,7 +125,9 @@
       7 => t('is empty'), 
       8 => t('is not empty'),
       9 => t('greater than'), 
-      10 => t('less than')
+      10 => t('less than'),
+      11 => t('greater than or equal'),
+      12 => t('less than or equal')
     );
     
     // filters fieldset  

