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 Regards, Peter Oberparleiter -- Peter Oberparleiter Linux on zSeries Development IBM Development Lab, Boeblingen/Germany ---------------------------------------------------------------------- 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
