Repost: [SunHELP] get current unix time

Dale Ghent daleg at elemental.org
Thu Apr 25 11:36:56 CDT 2002


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