[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New utility: ctime
- To: gcdev <gcdev@sseos.lbl.gov>
- Subject: New utility: ctime
- From: Henrik Nordberg <hnordberg@lbl.gov>
- Date: Wed, 03 Mar 1999 17:47:58 -0800
- Organization: Lawrence Berkeley Laboratory, Berkeley, California
Hi Everybody,
I have created a little utility that will convert query tokens into
human-readable time stamps. It also works on the number of seconds
since 1970 (the return value of time()).
Example:
% ctime 36dde042-740ff3 920501460
36dde042-740ff3 <--> Wed Mar 3 17:22:10 1999
920501460 <--> Wed Mar 3 14:51:00 1999
%
It's in CVS/util. It's ctime.cpp and there is no makefile. Just
type CC -o ctime ctime.cpp to compile it.
Cheers, Henrik
_________________________________________
Henrik Nordberg <hnordberg@lbl.gov>
Scientific Data Management Research Group
Lawrence Berkeley National Laboratory