Sept. 21, 2021
3:34 a.m.
On Sep 20, 2021, at 10:57 PM, dpatte <dpatte@relativedata.com> wrote:
When I read an astronomical journal and read of a bolide sighting in 1957 at 7:30 PM in haiti, it is important that I can attach that to a ut in 1957. But if it's now in the 'merged data' I am now out of luck.
In C++-speak: #include <chrono> #include <iostream> int main() { using namespace std; using namespace std::chrono; zoned_time zt{"America/Port-au-Prince", local_days{1957y/June/5} + 19h + 30min}; cout << format("%F %T %Z", clock_cast<tai_clock>(zt.get_sys_time())) << '\n'; } Output: 1957-06-06 00:30:10 TAI Note that programmers are hard-coding the name "America/Port-au-Prince”. Howard