Date: Tue, 8 Dec 1998 17:58:54 -0600 From: Dan Nelson <dnelson@emsphone.com> To: Don Read <sysop@calcasieu.com>, Robert Wall <rsw@vsat.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Hello Message-ID: <19981208175854.A38719@emsphone.com> In-Reply-To: <3.0.5.32.19981208175501.007fba40@mail>; from "Don Read" on Tue Dec 8 17:55:01 GMT 1998 References: <Pine.BSF.3.96.981208091531.8796A-100000@bridge.millstream. net> <3.0.5.32.19981208175501.007fba40@mail>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 08), Don Read said: > back on 09:16 AM 12/8/98 +0000, you said: > >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? > > > > #!/usr/bin/perl > printf( "%u\n" , time ) at a shell prompt: secs=`date +%s` in C: time_t secs = time(NULL); -Dan Nelson dnelson@emsphone.com 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?19981208175854.A38719>