Index: trunk/ippTools/src/stacktool.c
===================================================================
--- trunk/ippTools/src/stacktool.c	(revision 18093)
+++ trunk/ippTools/src/stacktool.c	(revision 18099)
@@ -1,3 +1,3 @@
-/*
+*
  * stacktool.c
  *
@@ -107,5 +107,5 @@
     PXOPT_COPY_STR(config->args, whereRE, "-select_uri", "uri", "==");
     PXOPT_COPY_TIME(config->args, whereRE, "-select_dateobs_begin", "dateobs", ">=");
-    PXOPT_COPY_TIME(config->args, whereRE, "-select_dateobs_end", "dateobs", "<");
+    PXOPT_COPY_TIME(config->args, whereRE, "-select_dateobs_end", "dateobs", "<=");
     PXOPT_COPY_F32(config->args, whereRE, "-select_airmass_min", "airmass", ">=");
     PXOPT_COPY_F32(config->args, whereRE, "-select_airmass_max", "airmass", "<=");
