From owner-freebsd-questions@FreeBSD.ORG Thu Sep 17 13:03:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4297A106568F for ; Thu, 17 Sep 2009 13:03:45 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id F135B8FC1D for ; Thu, 17 Sep 2009 13:03:44 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id n8HD3fEV044827 for ; Thu, 17 Sep 2009 08:03:41 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200909171303.n8HD3fEV044827@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <44825.1253192621.1@dc.cis.okstate.edu> Date: Thu, 17 Sep 2009 08:03:41 -0500 From: Martin McCormick Subject: Re: A question about the date Function X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2009 13:03:45 -0000 Thanks to those who answered my question. I have discovered in the process one big difference between the date function in freebsd and Linux. Under freebsd, date -r 1234567890 or whatever value you need converts that unsigned long in to the normal date output set to that reference value. IN Linux, -r should be followed by a file name and it gives you the formatted date as read from the mtime of that reference file.