📄 stddate.h
字号:
// StdDate.h: interface for the CStdDate class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_STDDATE_H__4D819DE1_B5A3_4896_A1DF_49BDB107B0AB__INCLUDED_)
#define AFX_STDDATE_H__4D819DE1_B5A3_4896_A1DF_49BDB107B0AB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define ZONE_GMT 0
#define ZONE_EST 1
#define ZONE_CST 2
#define ZONE_MST 3
#define ZONE_PST 4
class CStdDate
{
public:
static CString GetDateString( CTime time );
static CTime TranDateString( CString szDate );
CTime GetDateTime();
void SetDateTime( CString date );
void SetDateTime( CTime date );
CString GetTimeString();
CStdDate();
virtual ~CStdDate();
private:
CTime m_Time;
};
#endif // !defined(AFX_STDDATE_H__4D819DE1_B5A3_4896_A1DF_49BDB107B0AB__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -