>>145
単純に
void f(path&& pt)
{
 auto  date1 = last_write_time(pt);
 time_t val1 = std::chrono::system_clock::to_time_t(date1);
}
とすればいいだけのような気がする。