Index: trunk/ippScripts/scripts/fake_imfile.pl
===================================================================
--- trunk/ippScripts/scripts/fake_imfile.pl	(revision 19932)
+++ trunk/ippScripts/scripts/fake_imfile.pl	(revision 19938)
@@ -197,5 +197,5 @@
 $command .= " -path_base $outroot";
 $command .= " -dbname $dbname" if defined $dbname;
-$command .= (" -dtime_script " . (($mjd_start - DateTime->now->mjd) * 86400));
+$command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400));
 # XXX add this after defined
 # $command .= $stats->cmdflags();
@@ -229,5 +229,5 @@
         $command .= " -class_id $class_id";
         $command .= " -path_base $outroot";
-        $command .= (" -dtime_script " . (($mjd_start - DateTime->now->mjd) * 86400));
+        $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400));
         $command .= " -code $exit_code";
         $command .= " -dbname $dbname" if defined $dbname;
