// 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_)