$ perl -e '$t=0; print scalar localtime $t, "\n"; print scalar gmtime $t' Thu Jan 1 01:00:00 1970 Thu Jan 1 00:00:00 1970