Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c,comp.programming,alt.comp.os.windows-10,alt.os.linux.ubuntu Subject: Re: 'Leap Second' to Be Added on New Year's Eve This Year Date: Sat, 31 Dec 2016 13:59:16 -0800 Organization: None to speak of Lines: 28 Message-ID: References: <2DU9A.222322$WD2.28336@fx35.iad> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="aad573deed53ae29d6729f460c5a00c9"; logging-data="27054"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19qy5bq4azwtOSOmKjvrZ6+" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:ckcyF3zZsiuQ2+sYPGD8nFzp3jw= sha1:GeXvFFZ/naf9ZManMdUQvCJ9vQw= Xref: csiph.com comp.lang.c:100743 comp.programming:7212 alt.comp.os.windows-10:32287 alt.os.linux.ubuntu:194600 Mark Lloyd writes: > On 12/30/2016 07:48 PM, Keith Thompson wrote: >> Mark Lloyd writes: [...] >>> Used to be 32-bit, why I thought Y2K was going to be much less of a >>> problem than Y2.038K (Jan 17 2038 IIRC). >> [...] >> >> Tue 2038-01-19 03:14:08 UTC > > I knew it was around that time, from having to deal with that when my > website was on a 32-bit server. IIRC the negative limit is in December 1901. Fri 1901-12-13 20:45:52 UTC If you have the GNU coreutils date command, you can do: $ date -u +'%a %Y-%m-%d %T %Z' -d @-2147483648 Fri 1901-12-13 20:45:52 UTC $ date -u +'%a %Y-%m-%d %T %Z' -d @2147483647 Tue 2038-01-19 03:14:07 UTC $ -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"