Code first
echo time() . \'
\';
echo date(\'Y-m-d H:i:s\') . \'
\';
date_default_timezone_set(\'America/New_York\');
echo time() .
https://en.wikipedia.org/wiki/Unix_time
Unix time, or POSIX time, is a system for describing instants in time, defined as the number of seconds elapsed since midnight Coordinated Universal Time (UTC) of Thursday, January 1, 1970
The unix timestamp isn't affected by a timezone setting. Setting the timezone only affects the interpretation of the timestamp value.