33 FORCEINLINE
static std::string CurrentTimestamp(std::string_view InFormat =
"%Y-%m-%d-%H%M%S")
35 using namespace std::chrono;
36 time_point<system_clock> Now = system_clock::now();
37 std::time_t CurrentTime = system_clock::to_time_t(Now);
39 std::stringstream StrStream;
40 StrStream << std::put_time(std::localtime(&CurrentTime), InFormat.data());
42 return StrStream.str();