Date: Thu, 17 Sep 2009 10:17:32 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: freebsd-questions@freebsd.org Subject: Re: A question about the date Function Message-ID: <44vdjhbqpv.fsf@be-well.ilk.org> In-Reply-To: <200909171303.n8HD3fEV044827@dc.cis.okstate.edu> (Martin McCormick's message of "Thu, 17 Sep 2009 08:03:41 -0500") References: <200909171303.n8HD3fEV044827@dc.cis.okstate.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Martin McCormick <martin@dc.cis.okstate.edu> writes: > 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. The *only* standardized option for date is -u... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44vdjhbqpv.fsf>