samedi 22 janvier 2022

How can I overwrite timestamp to save into the database base on specific timezone?

Right now my Laravel application save() any items into the database base on this timestamp. America/New_York because I configured it as 'timezone' => 'America/New_York', in config/app.php.

Goal

I wish to overwrite timestamp based on other tz instead, ex. America/Chicago

How do I do that?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3Aq99c3
via IFTTT

Aucun commentaire:

Enregistrer un commentaire