Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 1998 17:27:21 +0200
From:      Johann Visagie <wjv@cityip.co.za>
To:        Robert Wall <rsw@vsat.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Hello
Message-ID:  <19981208172721.A3742@cityip.co.za>
In-Reply-To: <Pine.BSF.3.96.981208091531.8796A-100000@bridge.millstream.net>; from Robert Wall on Tue, Dec 08, 1998 at 09:16:26AM %2B0000
References:  <Pine.BSF.3.96.981208091531.8796A-100000@bridge.millstream.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 08 Dec 1998 at 09:16 SAST, Robert Wall wrote:
>
> I know this is a bit off-topic for this list, but is there a function
> anywhere that tells the number of seconds that have passed since the
> epoch?

gettimeofday(2)?

Or did you mean a way of getting it from the shell command line?  In that
case, try:  date +%s

-- V

Johann Visagie | wjv@CityIP.co.za | Tel: +27 21 419-7878 | ICQ: 20645559

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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