}
+void tmplput_nowstr(StrBuf *Target, WCTemplputParams *TP)
+{
+ time_t now;
+ now = time(NULL);
+ StrEscAppend(Target, NULL, asctime(localtime(&now)), 0, 0);
+}
+void tmplput_nowno(StrBuf *Target, WCTemplputParams *TP)
+{
+ time_t now;
+ now = time(NULL);
+ StrBufAppendPrintf(Target, "%ld", now);
+}
+
+void
+InitModule_DATE
+(void)
+{
+ RegisterNamespace("DATE:NOW:STR", 0, 0, tmplput_nowstr, CTX_NONE);
+ RegisterNamespace("DATE:NOW:NO", 0, 0, tmplput_nowno, CTX_NONE);
+}
+
/*@}*/