Re: Unix timestamp

2003-09-23 Thread Jonathan Chen
On Tue, Sep 23, 2003 at 06:07:50AM +0100, Jez Hancock wrote: Is there a native FreeBSD shell util for returning the time in seconds since the Unix epoch? date(1) doesn't seem to do this, only the converse with the -r switch: [6:05:51] [EMAIL PROTECTED] /home/munk# date -r 1064293551 Tue

Re: Unix timestamp

2003-09-23 Thread Jez Hancock
On Tue, Sep 23, 2003 at 09:58:35PM +1200, Jonathan Chen wrote: On Tue, Sep 23, 2003 at 06:07:50AM +0100, Jez Hancock wrote: Is there a native FreeBSD shell util for returning the time in seconds since the Unix epoch? date(1) doesn't seem to do this, only the converse with the -r switch:

Unix timestamp

2003-09-22 Thread Jez Hancock
Is there a native FreeBSD shell util for returning the time in seconds since the Unix epoch? date(1) doesn't seem to do this, only the converse with the -r switch: [6:05:51] [EMAIL PROTECTED] /home/munk# date -r 1064293551 Tue Sep 23 06:05:51 BST 2003 Just curious - I ended up making a simple C

Re: Unix timestamp

2003-09-22 Thread Bill Campbell
On Tue, Sep 23, 2003, Jez Hancock wrote: Is there a native FreeBSD shell util for returning the time in seconds since the Unix epoch? date(1) doesn't seem to do this, only the converse with the -r switch: perl -e 'print time . \n' Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell;

Re: Unix timestamp

2003-09-22 Thread Dan Nelson
In the last episode (Sep 23), Jez Hancock said: Is there a native FreeBSD shell util for returning the time in seconds since the Unix epoch? date(1) doesn't seem to do this, only the converse with the -r switch: [6:05:51] [EMAIL PROTECTED] /home/munk# date -r 1064293551 Tue Sep 23 06:05:51