Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2003 22:27:03 -0700
From:      Bill Campbell <freebsd@celestial.com>
To:        FreeBSD Questions List <freebsd-questions@freebsd.org>
Subject:   Re: Unix timestamp
Message-ID:  <20030923052703.GA5221@alexis.mi.celestial.com>
In-Reply-To: <20030923050750.GA38213@users.munk.nu>
References:  <20030923050750.GA38213@users.munk.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 23, 2003, Jez Hancock wrote:
>Is there a native FreeBSD shell util for returning the time in seconds
>since the Unix epoch?  date(1) doesn't seem to do this, only the
>converse with the -r switch:

	perl -e 'print time . "\n"'

Bill
--
INTERNET:   bill@Celestial.COM  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

The is no worse tyranny than to force a man to pay for what he does not
want merely because you think it would be good for him.  -- Robert Heinlein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030923052703.GA5221>