I have a query:
$time = time();
$query = "SELECT timestamp FROM sales WHERE timestamp < '$time'";
=
The timestamp (in seconds, i.e. 1554901254) in that DB is 4 hours ahead of time()
. Is there a way to adjust that timestamp within the query? I know something like $time = time()+14400
should work, but can I adjust timestamp itself to let's say date_default_timezone_set('America/New_York');
?