$ date "+%s" -d"2016-12-08 00:00:00" 1481122800 $ perl -MTime::Local -le 'print timelocal(0,0,0,8,12 -1,2016)' 1481122800 $ python -c 'import datetime ; print (datetime.datetime(2016,12,8,0,0,0).strftime("%s"))' 1481122800 $ date "+%Y-%m-%d %T" -d@1481122800 2016-12-08 00:00:00 $ perl -MPOSIX -le 'print strftime "%Y-%m-%d %T", localtime(1481122800)' 2016-12-08 00:00:00 $ python -c 'import datetime