GetHour();
GetMinute();
GetSecond();
GetMinute();
GetSecond();
解决方案 »
- 如何在CFormView中同时加载两个标签页啊
- 派生CButton类,重载OnMouseMove(),然后如何响应DrawItem
- 各位1存储过程返回记录集recordcount-1,怎么解决啊?
- 遍历当前网页表单,并自动填写提交的问题(VC++)!
- vc用ado访问数据库,连接上了,调用对话框里的命令却无法操作,大家看看是什么原因呢?
- socket编程,如何可以得到当前连接的状态?
- 在文档中添加变量就会出错!
- (急)ocx中使用Dll,为什么不能弹出Dll中的对话框。在线等待。
- 关于纹理贴图的问题,大家帮帮忙啊
- 如何用VC实现显示桌面,就像WINDOWS的"显示桌面"工具一样
- EnterCriticalSection,WaitForSingleObject两个函数作什么用?
- 可否让不可用的工具条按钮好看些?
具体自己看吧
CString str;
str.Format("%s",t.Format("%H点%M分%S秒"));
Extraction GetTime Returns a time_t that corresponds to this CTime object.
GetYear Returns the year that this CTime object represents.
GetMonth Returns the month that this CTime object represents (1 through 12).
GetDay Returns the day that this CTime object represents (1 through 31).
GetHour Returns the hour that this CTime object represents (0 through 23).
GetMinute Returns the minute that this CTime object represents (0 through 59).
GetSecond Returns the second that this CTime object represents (0 through 59).
GetDayOfWeek Returns the day of the week (1 for Sunday, 2 for Monday, and so forth).