Changing time zone used for date

Thanks again for your reply.

Another question I have is; in this code:

'TIME' => date("Y-m-d h:i A (T)", strtotime($video->time_date))

it displays the correct info, for example: 2019-08-19 07:18 AM (UTC)

how can it display (PDT) instead of (UTC)?

I look forward to any assistance.

You can either set this line in all your script at top

date_default_timezone_set(‘UTC’);

or edit your php.ini timezone value.

I hope it will help you out

Check the following link for all the settable parameters:

https://www.php.net/manual/en/function.date.php