On Apr 26, 2005, at 11:40 AM, Peter 1 Oberparleiter wrote:
Adam Thornton <[EMAIL PROTECTED]> wrote:
On Apr 26, 2005, at 10:16 AM, James Melin wrote:
Is there a way to have the date function return the time down to the
100th
of a second as a string of [hour][min][sec][hundredths] eg: 17594588
?
Perl's Time::Hires module certainly does this. Date doesn't, but the
c
library function gettimeofday() gives you down to microseconds (in
theory).
How about:
date +%H%M%S%N | cut -c1-8
When did the %N format for date appear? Must be one of them newfangled
1980s inventions.
Adam
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390