#pragma once #include #include namespace CVrDateUtils { /** * 获取时间年月日时分秒 */ std::string GetNowTime(); /** * 获取时间:年-月-日 时:分:秒 */ std::string GetStrNowTime(bool bYear = true); /** * 获取微妙时间戳 */ unsigned long long GetTimestamp(); };