Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Epoch time in milliseconds: Is there a better way?by Xilman (Hermit) |
on Nov 25, 2008 at 12:31 UTC ( [id://725831]=note: print w/replies, xml ) | Need Help?? |
If all you want is "minute or two" accuracy, you don't need a hires timer. Just set the milliseconds portion of your string to '000'. You are still two orders of magnitude better accuracy than the spec calls for.
In Section
Seekers of Perl Wisdom
|
|