bash - Linux command to get time in milliseconds -


is there shell command in linux time in milliseconds?

date +%s returns number of seconds since epoch.

date +%s%n returns number of seconds + current nanoseconds.

therefore, echo $(($(date +%s%n)/1000000)) need


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -