char *GenTimeKey(time_t now) { static char str[64]; sprintf(str,"%s",ctime(&now)); return ConvTimeKey(str); }
char *GenTimeKey(time_t now) { static char str[64]; char timebuf[26]; snprintf(str, sizeof(str), "%s", cf_strtimestamp_utc(now, timebuf)); return ConvTimeKey(str); }