Repost: [SunHELP] get current unix time
David Baldwin
dbaldwin at networkinsight.com
Thu Apr 25 11:50:31 CDT 2002
That was what I needed.
Thanks
Dave
-----Original Message-----
From: Dale Ghent [mailto:daleg at elemental.org]
Sent: Thursday, April 25, 2002 9:37 AM
To: David Baldwin
Cc: sunhelp at sunhelp.org
Subject: Re: Repost: [SunHELP] get current unix time
On Thu, 25 Apr 2002, David Baldwin wrote:
| I would like to get the amount of seconds since the epoch, January 1
| 1970. Not the date. We wrote up a little 5 line c program that will
| get it but I was wondering if there are any shell level functions or
| utils that are available.
perl -e 'print time . "\n"'
/dale
More information about the SunHELP
mailing list