Index: trunk/ippTools/src/dettool.c
===================================================================
--- trunk/ippTools/src/dettool.c	(revision 18088)
+++ trunk/ippTools/src/dettool.c	(revision 18099)
@@ -552,5 +552,5 @@
     PXOPT_COPY_STR(config->args, where, "-select_uri", "uri", "==");
     PXOPT_COPY_TIME(config->args, where, "-select_dateobs_begin", "dateobs", ">=");
-    PXOPT_COPY_TIME(config->args, where, "-select_dateobs_end", "dateobs", "<");
+    PXOPT_COPY_TIME(config->args, where, "-select_dateobs_end", "dateobs", "<=");
     PXOPT_COPY_F32(config->args, where, "-select_airmass_min", "airmass", ">=");
     PXOPT_COPY_F32(config->args, where, "-select_airmass_max", "airmass", "<=");
