Archive for Mai, 2017

UNIX Zeit mit Millisekunden

Posted: 9th Mai 2017 by Thorben Hemmler in Serveradministration

perl -le ‚use POSIX ’strftime‘; use Time::HiRes ‚gettimeofday‘; ($x,$y)=gettimeofday; $y=sprintf("%03d",$y/1000);print strftime("%Y-%m-%d %H:%M:%S",localtime($x)),".$y"‘