//获取当前系统时间
std::string get_Cur_SysTime()
{
time_t nowtime;
nowtime = time(NULL);
struct tm* local;
local = localtime(&nowtime);//获取当前系统时间
char buf[80];
strftime(buf, 80, "%Y%m%d%H%M%S", local);
return buf;
}
【UG\NX二次开发】获取当前系统时间
于 2023-11-10 08:41:48 首次发布