Process Time in hours or minutes only

Hi

i want to print the time of a process in hours only..(or) in minutes only.Is there anyway to print the process such like that

when i give the commnand like following

#ps -eo pid,time

PID        TIME
412    01:49:32
481       00:03

it shows in HH:MM:SS format:

Could anyone help in regarding this

Thanks in advance:
SRIK

The output you get from ps will be in the form

pid  dd-hh:mm:ss

You can take the ps output and pipe it through something else (such as perl) that will take the time info and convert it to whatever you want.