p5-time-moment
p5-time-moment copied to clipboard
%9N always produces micro secs x 1000
Firstly, thanks for all the effort you put into this module -- I am a heavy user of this.
$> perl -MTime::Moment -e'print Time::Moment->now->strftime("%Y-%m-%dT%H:%M:%S.%9N%:z")'
2019-11-19T23:05:19.437942000-05:00
$>
Any way we can make the %9N be more precise in the logging the last three digits too and not simply append 000 (or multiply by 1000) to micro secs?
Thanks!
Internally Time::Moment
uses gettimeofday()
which was the most portable option to obtain higher resolution times.