Networker

Re: [Networker] Calculate current time from EPOC

2004-10-26 17:19:22
Subject: Re: [Networker] Calculate current time from EPOC
From: Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Tue, 26 Oct 2004 14:38:04 -0700
>
> Does anyone have a script to calculate the current time in seconds from
> EPOC?

I just use perl.

% perl -le 'print time'

If you have gnu 'date' installed, you can do

% date +%s

% date +%s; perl -le 'print time'
1098825471
1098825471


--
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>