--- a/sys_ansi.c
+++ b/sys_ansi.c
@@ -20,6 +20,8 @@
 #include "sys_ansi.h"
 #include "panotypes.h"
 #include <signal.h>
+#include <assert.h>
+#include <time.h>
 
 
 //------------------ Public functions required by filter.h -------------------------------
@@ -435,3 +437,17 @@
 	}
 }
 
+
+
+int panoTimeToStrWithTimeZone(char *sTime, int len, struct tm  *time) 
+{
+    assert(len >= 11);
+    return strftime(sTime, len, "%H%M%S%z", time);
+
+}
+
+char *panoBasenameOfExecutable(void)
+{
+    extern char *__progname;
+    return __progname;
+}