char* date_format = NULL;
DATE_default_date_format(&date_format);
DATE_date_to_string(status_now, "%Y-%m-%d %H:%M:%S", &date_format);
TC_write_syslog("current_time:%s \n", date_format);
date_t tcDateObj = NULLDATE;
DATE_convert_format_date_to_date_t(date_format, "%Y-%m-%d %H:%M:%S", &tcDateObj);
AOM_lock(formTag);
AOM_set_value_date(formTag, "wh7_ReplyTimeD", tcDateObj);
AOM_save_without_extensions(formTag);
AOM_unlock(formTag);
ITK 日期格式
于 2023-07-17 22:46:59 首次发布