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.
23 lines
588 B
C
23 lines
588 B
C
|
3 years ago
|
// DateTime.h: interface for the CDateTime class.
|
||
|
|
//
|
||
|
|
//////////////////////////////////////////////////////////////////////
|
||
|
|
#pragma once
|
||
|
|
#include <string_view>
|
||
|
|
#include "DllDefines.h"
|
||
|
|
|
||
|
|
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(std::string csDate);
|
||
|
|
|
||
|
|
// get Date in double in Day/Month/Year/Hours/Minutes/Sec format
|
||
|
|
static COleDateTime GetDateTimeInDMYHMS(std::string csString);
|
||
|
|
};
|