When adding any data to the database, in the fields of the 'created_at' type, the time not corresponding to the time zone is displayed. Can you please tell me how / where to set the time zone? Thank you all in advance!

  • one
    $table->timestampsTz(); - TIMESTAMP (with timezone) equivalent column. - entithat
  • Can you give more details? Not a lot in which facade to edit - dexploizer
  • Hmm .. my table has already been created. How to be? - dexploizer
  • And the data that is already in the tables will not be deleted? - dexploizer
  • Updated. Creation time is still 2 hours less than necessary - dexploizer

1 answer 1

The time zone is configured in the config / app.php configuration file in the timezone field. List of supported time zones - http://php.net/manual/ru/timezones.php

  • The comments have already said that this method did not help .. - entithat