+static bool DATE__(struct psi_cpp *cpp, struct psi_token *target,
+ struct psi_plist **args, struct psi_plist **res)
+{
+ char buf[12];
+ struct tm *tp;
+ time_t t = time(NULL);
+#if HAVE_LOCALTIME_R
+ struct tm tm = {0};
+ tp = localtime_r(&t, &tm);
+#else
+ tp = localtime(&t);
+#endif
+
+ strftime(buf, sizeof(buf), "%b %e %Y", tp);
+ ADD_QUOTED_STRING(buf, 11);
+ return true;
+}
+