diff --git a/nuv_export/ui.pm b/nuv_export/ui.pm
index 4cf53eb..2baad63 100644
--- a/nuv_export/ui.pm
+++ b/nuv_export/ui.pm
@@ -57,7 +57,7 @@ package nuv_export::ui;
     # Look for a filename or channel/starttime
         else {
             my $chanid    = arg('chanid');
-            my $starttime = UnixDate(arg('starttime'), '%s');
+            my $starttime = myth_to_unix_time(arg('starttime'));
         # Filename specified on the command line -- extract the chanid and starttime
             if (arg('infile')) {
             # Try to pick out the chanid and starttime from the database
