summaryrefslogtreecommitdiffstats
path: root/common/bbs/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/bbs/time.c')
-rw-r--r--common/bbs/time.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/common/bbs/time.c b/common/bbs/time.c
new file mode 100644
index 00000000..6ea402b8
--- /dev/null
+++ b/common/bbs/time.c
@@ -0,0 +1,11 @@
+#include "bbs.h"
+#include "cmsys.h"
+
+// Now() is a maple3 flavor API.
+const char *
+Now()
+{
+ syncnow();
+ return Cdate(&now);
+}
+