Mysql timestamp data type -


I have some questions about the timestamp data type, have I covered it correctly if I used the timestamp Will I store datasets in UTC? And when I withdraw data, will it be shown in local time?

If so, do I have any configuration to enable "function"?

By default, TIMESTAMP stores its data in UTC, then it changes to the server's time zone The database on which the database resides. Here are several good answers to the same question:

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -