Re: Did April go missing in Asia/Amman?
[email protected] (Eric Brine) Sat, 23 Apr 2016 16:26:44 -0400
| Newsgroups | perl.datetime |
|---|---|
| Message-ID | <CALJW-qHL35g=ND+M01HdkFFmF9YZ84yAiZWZci6RO3q3zh7KeA@mail.gmail.com> |
Then I don't understand your algorithm. I perform a binary search on epoch times with two UTC dt as bounds. The result is 2013-11-02T23:59:03 in the desired time zone. On Sat, Apr 23, 2016 at 4:08 PM, Zefram <[email protected]> wrote: > Eric Brine wrote: > >00:00:04 <--- Starting from this > > You shouldn't be getting such a time at any point in the algorithm I > was proposing. > Then I don't understand your algorithm. I started with min: 2013-11-02T00:00:00 UTC max: 2013-11-04T00:00:00 UTC The binary search found: 2013-11-03T00:00:00 UTC 2013-11-03T12:00:00 UTC 2013-11-03T06:00:00 UTC 2013-11-03T03:00:00 UTC 2013-11-03T04:30:00 UTC 2013-11-03T03:45:00 UTC 2013-11-03T04:07:30 UTC 2013-11-03T03:56:15 UTC 2013-11-03T04:01:52 UTC 2013-11-03T03:59:03 UTC 2013-11-03T04:00:27 UTC