MySQL: datetime v.s. timestamp

datetime:    1001年到9999年,无时区

timestamp:  1970年到2038年,支持时区的概念

timestamp比datetime更省空间。

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.