UINT64 GetWeekBeginTime()
{
time_t t;
t = time(0);
tm* t_tm = localtime(&t);
t_tm->tm_hour = 0;
t_tm->tm_min = 0;
t_tm->tm_sec = 0;
t_tm->tm_wday = 0;
t = mktime(t_tm);
return (UINT64)t;
}
c++ 获取当前时间周初凌晨时间戳(获取当前时间周一凌晨时间戳)
内容版权声明:除非注明,否则皆为本站原创文章。