summaryrefslogtreecommitdiff
path: root/test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test.cc')
-rw-r--r--test.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/test.cc b/test.cc
new file mode 100644
index 0000000..87900a0
--- /dev/null
+++ b/test.cc
@@ -0,0 +1,13 @@
+#include "def.h"
+
+
+int main()
+{
+ char ct[sizeHHMM+TB];
+ long theTime = DT::lNow();
+
+ printf("lNow = '%s'; daylight %d; timezone %ld hours\n", DT::int2Hhmm(theTime, ct), daylight, timezone/tfSecondsPerHour);
+
+ return 0;
+}
+