You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
967 B
C++
35 lines
967 B
C++
// DateTime.h: interface for the CDateTime class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_DATETIME_H__48D71E71_487D_4159_9C71_14A449A26A09__INCLUDED_)
|
|
#define AFX_DATETIME_H__48D71E71_487D_4159_9C71_14A449A26A09__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#ifdef BUILD_UTILITYDLL
|
|
#define UTILITYDLL __declspec(dllexport)
|
|
#else
|
|
#define UTILITYDLL __declspec(dllimport)
|
|
#endif
|
|
|
|
class UTILITYDLL CDateTime
|
|
{
|
|
public:
|
|
// default constructor
|
|
CDateTime();
|
|
|
|
// default destructor
|
|
virtual ~CDateTime();
|
|
|
|
// get Date in double in Day/Month/Year/Hours/Minutes/Sec format
|
|
static double GetDateInDMYHMS(CString csString);
|
|
|
|
// get Date in double in Day/Month/Year/Hours/Minutes/Sec format
|
|
static COleDateTime GetDateTimeInDMYHMS(CString csString);
|
|
};
|
|
|
|
#endif // !defined(AFX_DATETIME_H__48D71E71_487D_4159_9C71_14A449A26A09__INCLUDED_)
|