With the GNU or ast-open implementation of date
(or busybox' if built with the FEATURE_DATE_NANO
option enabled), I would use:
$ date +%s%3N
which returns milliseconds since Unix epoch.
With the GNU or ast-open implementation of date
(or busybox' if built with the FEATURE_DATE_NANO
option enabled), I would use:
$ date +%s%3N
which returns milliseconds since Unix epoch.