Date: Tue, 10 Jul 2001 20:09:51 -0400 (EDT) From: jack <jack@germanium.xtalwind.net> To: rootman <rootman@xmission.com> Cc: <freebsd-chat@FreeBSD.ORG> Subject: Re: Fwd: UNIX TIP: DATE CHANGE SEPT 9TH Message-ID: <20010710195745.H58318-100000@germanium.xtalwind.net> In-Reply-To: <01071017182700.00321@blackmirror.xmission.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010710195745.H58318-100000>