From owner-freebsd-chat Tue Jul 10 17:10: 0 2001 Delivered-To: freebsd-chat@freebsd.org Received: from germanium.xtalwind.net (germanium.xtalwind.net [205.160.242.5]) by hub.freebsd.org (Postfix) with ESMTP id 0BED237B403 for ; Tue, 10 Jul 2001 17:09:57 -0700 (PDT) (envelope-from jack@germanium.xtalwind.net) Received: from localhost (localhost.xtalwind.net [127.0.0.1]) by germanium.xtalwind.net (8.11.4/8.11.4) with ESMTP id f6B09p159092; Tue, 10 Jul 2001 20:09:51 -0400 (EDT) (envelope-from jack@germanium.xtalwind.net) Date: Tue, 10 Jul 2001 20:09:51 -0400 (EDT) From: jack To: rootman Cc: Subject: Re: Fwd: UNIX TIP: DATE CHANGE SEPT 9TH In-Reply-To: <01071017182700.00321@blackmirror.xmission.com> Message-ID: <20010710195745.H58318-100000@germanium.xtalwind.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Today rootman wrote: > The unix time() value becomes > 10 digits for the first time on > Sun Sep 9 01:46:40 2001 > > For the first time in modern > computer history, the timestamp > will be something besides 9 digits. > That could break things. I have programs (in C, perl, and PHP) that have been converting credit card expiration dates later than Aug 2001 back and forth between ascii strings and time_t values for the past few years; and storing the time_t value in a PostgreSQL database. cwc=# select max(cc_exp_date) from contact_info; max ------------ 1117598400 (1 row) cwc=# \q pearl# date -r 1117598400 Wed Jun 1 00:00:00 EDT 2005 -------------------------------------------------------------------------- Jack O'Neill Systems Administrator / Systems Analyst jack@germanium.xtalwind.net Crystal Wind Communications, Inc. Finger jack@germanium.xtalwind.net for my PGP key. PGP Key fingerprint = F6 C4 E6 D4 2F 15 A7 67 FD 09 E9 3C 5F CC EB CD enriched, vcard, HTML messages > /dev/null -------------------------------------------------------------------------- A Microsoft Certified Systems Engineer is to computing what a McDonalds Certified Food Specialist is to fine cuisine. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message