datetime 1. 占用8个字节 2. 允许为空值,可以自定义值,系统不会自动修改其值。 3. 实际格式储存(Just stores what you have stored and retrieves the same thing which you have stored.) 4. 与时区无关(It has nothing to deal with the TIMEZONE and Conversion.) 5. 不可以设定默认值,所以在不允许为空值的情况下,必须手动指定datetime字段的值才可以成功插入数据。 6. 可以在指定datetime字段的值的时候使用now()变量来自动插入系统的当前时间。 结论:datetime类型适合用来记录数据的原始的创建时间,因为无论你怎么更改记录中其他字段的值,datetime字段的值都不会改变,除非你手动更改它。