If I'm using stat
to display the mtime, I get a date with milliseconds:
$ stat -c '%y' test.log
2019-07-04 14:32:10.730059167 +0200
However, if I want to display the Epoch timestamp, I don't get milliseconds any more:
$ stat -c '%Y' test.log
1562243530
Am I missing something or will I have to patch it together from both outputs?