bash gnu posix get current time with milliseconds code example
Example: date linux show millis
# Returns the number of seconds + current nanoseconds.
date +%s%N
# Returns the number of seconds + current nanoseconds.
date +%s%N