techass
asked on
convert microseconds into hours munites and seconds using awk.
how can i convert a long int value(time in microseconds) into hours munites and seconds using awk.
awk '{printf"%02d:%02d:%02d\n" ,$1/360000 0000,$1/60 000000%60, $1/1000000 %60}'
ASKER
yes but if also I could convert the time in mks into hh:mm:ss.ms (where ms is miliseconds ). Also I need to print other columns too. $2, $3.. so on.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.