From owner-freebsd-questions Fri Sep 15 7:19:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103]) by hub.freebsd.org (Postfix) with ESMTP id 0123437B424 for ; Fri, 15 Sep 2000 07:19:15 -0700 (PDT) Received: from bagabeedaboo.security.at12.de (dial-194-8-209-75.netcologne.de [194.8.209.75]) by mail2.netcologne.de (8.9.3/8.9.3) with ESMTP id QAA23366; Fri, 15 Sep 2000 16:19:12 +0200 (MET DST) Received: from localhost (localhost.security.at12.de [127.0.0.1]) by bagabeedaboo.security.at12.de (8.11.0/8.11.0) with ESMTP id e8FEJ5m02356; Fri, 15 Sep 2000 16:19:06 +0200 (CEST) (envelope-from pherman@frenchfries.net) Date: Fri, 15 Sep 2000 16:19:05 +0200 (CEST) From: Paul Herman To: Salisbury Andrew Cc: "'freebsd-questions@FreeBSD.ORG'" Subject: Re: Time Stamp In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 15 Sep 2000, Salisbury Andrew wrote: > There appears to be a UNIX time stamp in logs that are generated for us. > > Is there a utility to decipher what time this is, for example what time is > 968284808.305 ? This is the number of seconds.milliseconds since the "Unix Epoch", which is Jan 1 00:00:00 1970 GMT. The date(1) command will help you here: bash-2.03$ date -r 968284808.305 Thu Sep 7 02:00:08 CEST 2000 bash-2.03$ (You'll get a different time in your time zone.) There is probably some "mandate" pun in here somewhere, but I'll leave that for others. -Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message