#pragma once #include #include #include #include "Log.h" using namespace boost::posix_time; using namespace boost::gregorian; class Util { public: static std::string CurTime(); static date CurData(); private : static std::string __FormatTime(ptime time); static ptime __getCurTime(); };