How can you ensure that timestamp calculations in PHP consider time zone differences?

When working with timestamps in PHP, it's important to consider time zone differences to ensure accurate calculations. One way to do this is by setting the default time zone using the `date_default_timezone_set()` function to the desired time zone before performing any timestamp calculations.

// Set the default time zone to the desired time zone
date_default_timezone_set('America/New_York');

// Perform timestamp calculations
$timestamp = time();
echo date('Y-m-d H:i:s', $timestamp);