$ ./2.strftime.pl It took me 10 seconds I was started on 2019-12-03 11:41:38 and ended on 2019-12-03 11:41:48 $ cat 2.strftime.pl