Код: Выделить всё
#include "date/tz.h"
#include "date/date.h"
#include
#include
int main()
{
using namespace date;
using namespace std;
using namespace chrono;
auto tz = locate_zone("America/New_York");
zoned_time zt{tz, local_days{November/7/2021} + 1h + 30min, choose::latest};
zt = zt.get_local_time();
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79032357/error-while-converting-zoned-time-into-get-local-time-using-howard-hinnants-dat[/url]