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? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -