On Tue, Feb 27, 2018 at 2:55 PM, Ian Kelly <ian.g.ke...@gmail.com> wrote: > On Mon, Feb 26, 2018 at 8:09 PM, Steven D'Aprano > <steve+comp.lang.pyt...@pearwood.info> wrote: >> Yes you did: "the last second of every year" is always 23:59:59 of 31st >> December, and it is always the same time and date "every year". > > Except when it's 23:59:60 or 23:59:61 (which hasn't yet happened but could).
Unless you use a leap smear to avoid it. ChrisA -- https://mail.python.org/mailman/listinfo/python-list