���}��EM9160 ϵ�y�r�g��ʽ�� ����61385���Pע�^���� |
---|
diaryon |
1�� |
![]() |
EM9160 ϵ�y�r�g��ʽ�� ![]()
��Ό���ǰ�ĕr�g��ʽ�����ַ���,�Ҹ�ʽ����ò�����ǰϵ�y�r�g�ı�ʾ,������a�І��}��?
SYSTEMTIME time //GetLocalTime(&time); GetSystemTime(&time); int nYear =time.wYear % 100; int nMonth = time.wMonth; int nDay = time.wDay; int nHour = time.wHour; int nMinute = time.wMinute; int nSecond = time.wSecond; char sShortWaveName[20]={0};//��13λ sprintf(sShortWaveName,("%.4d%.2d%.2d_%.2d%.2d%.2d"),nYear,nMonth,nDay,nHour,nMinute,nSecond); TCHAR strTime[20]; swprintf(strTime,_T("%.4d%.2d%.2d_%.2d%.2d%.2d"),nYear,nMonth,nDay,nHour,nMinute,nSecond); |
�������� | ���� | �؏� ![]() |
zhl |
2�� |
![]() |
![]()
�@ȡϵ�y�r犿���ֱ���{�ú���GetLocalTime������ �磺
SYSTEMTIME CurrentTime; GetLocalTime( &CurrentTime ); sprintf( TxBuf, "%d-%02d-%02d %02d:%02d:%02d", CurrentTime.wYear, CurrentTime.wMonth, CurrentTime.wDay, CurrentTime.wHour, CurrentTime.wMinute, CurrentTime.wSecond ); |
�������� | ���� | �؏� ![]() |
diaryon |
3�� |
![]() |
![]()
�ҵ�ԭ���ˣ������9160��������Ҫ�����O�Õr�g
|
�������� | ���� | �؏� ![]() |