Date: Thu, 17 Sep 2009 08:03:41 -0500 From: Martin McCormick <martin@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Subject: Re: A question about the date Function Message-ID: <200909171303.n8HD3fEV044827@dc.cis.okstate.edu>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909171303.n8HD3fEV044827>