12 const auto &sctp = std::chrono::time_point_cast<std::chrono::system_clock::duration>(
13 time - fs::file_time_type::clock::now() + std::chrono::system_clock::now()
16 auto epochSec = std::chrono::time_point_cast<std::chrono::seconds>(sctp);
17 auto epochMs = std::chrono::duration_cast<std::chrono::microseconds>(sctp - epochSec).count();
19 std::time_t timeInfo = std::chrono::system_clock::to_time_t(epochSec);
28 dt.
ms = (
unsigned int)(epochMs);
31 dt.
year = tm.tm_year + 1900;
32 dt.
month = tm.tm_mon + 1;