We help IT Professionals succeed at work.

unix command for date (milliseconds precision)

happyloman
happyloman asked
on
Is there a UNIX command line command that gives the time (including milliseconds precision)?


"/bin/date" only goes to seconds....

THANKS
Comment
Watch Question

Commented:
Not that I am aware of bit it would be a simple matter to write a quick c program using the gettimeofday() function to achieve the same results


Cheers - Gavin
Julian ParkerSenior Systems Administrator
CERTIFIED EXPERT

Commented:
What do you want to do?

Commented:
hi,

I agree with newmang, you can go to other language to get the milliseconds like java, C, etc..

Charlie

Explore More ContentExplore courses, solutions, and other research materials related to this topic.