#include <iostream>
#include <chrono>
#include <iomanip>
#include <sstream>
stdstring getCurrentTime() {
// 获取当前时间点
auto now = stdchronosystem_clocknow();
// 转换为time_t类型
auto now_c = stdchronosystem_clockto_time_t(now);
// 使用localtime获取本地时间
stdtm* now_tm = std::localtime(&now_c);
}
int main() {
stdstring timeStr = getCurrentTime();
stdcout << "Current time is: " << timeStr << std::endl;
return 0;
}