SYSTEMTIME st;
CString strDate,strTime;
GetLocalTime(&st);
strDate.Format("%02d%02d%02d",st.wYear,st.wMonth,st.wDay);
这样写,为什么年份还是输出4位?请大虾指教,谢谢。
CString strDate,strTime;
GetLocalTime(&st);
strDate.Format("%02d%02d%02d",st.wYear,st.wMonth,st.wDay);
这样写,为什么年份还是输出4位?请大虾指教,谢谢。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货