(编程)一个时间戳记。范围是'1970-01-01 00:00:00'到2037年的某时。MySQL以YYYYMMDDHHMMSS、YYMMDDHHMMSS、YYYYMMDD

YYMMDD


来显示TIMESTAMP值,取决于是否M是14(

省

)、12、8

6,但是允许你使用

符串




值赋给TIMESTAMP列。一个TIMESTAMP列对于记录一个INSERT

UPDATE操作的日期和时间是有用的,因为如果你不自己给它赋值,它自动地被设置为最近操作的日期和时间。你以可以通过赋给它一个NULL值设置它
www.francochinois.com 版 权 所 有