From owner-freebsd-questions Thu Dec 18 11:55:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA17351 for questions-outgoing; Thu, 18 Dec 1997 11:55:43 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from horton.iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA17346 for ; Thu, 18 Dec 1997 11:55:40 -0800 (PST) (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.7/8.8.7) id NAA10811; Thu, 18 Dec 1997 13:54:33 -0600 (CST) From: "Paul T. Root" Message-Id: <199712181954.NAA10811@horton.iaces.com> Subject: Re: Converting epic time to human time? To: jal@thirdage.com (Jamie Lawrence) Date: Thu, 18 Dec 1997 13:54:33 -0600 (CST) Cc: questions@freebsd.org In-Reply-To: <3.0.3.32.19971218103158.00955e60@mail.thirdage.com> from Jamie Lawrence at "Dec 18, 97 10:31:58 am" X-Organization: !nterprise Networking Services - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In a previous message, Jamie Lawrence said: > Does anyone know a quick way to convert, say, 881971099 > to a human readable time? #!/usr/local/bin/perl use Time::gmtime; $date_string = gmctime(881971099); print $date_string, "\n\n"; ^D Fri Dec 12 23:58:19 1997 > Thanks. > > -j > -- Sir, I have a cunning plan... - Baldrick