Duplicate, sorry
use POSIX qw(strftime); print strftime '%Y-%m-%d %H:%M:%S.000', localtime; [download]
In reply to Re: Timestamp Format Help! by Corion in thread Timestamp Format Help! by Anonymous Monk