DATETIME ç±»åå¯ç¨äºéè¦åæ¶å
å«æ¥æåæ¶é´ä¿¡æ¯çå¼ãMySQL 以 'YYYY-MM-DD HH:MM:SS' æ ¼å¼æ£ç´¢ä¸æ¾ç¤º DATETIME ç±»åãæ¯æçèå´æ¯ '1000-01-01 00:00:00' å° '9999-12-31 23:59:59'ã(âæ¯æâçå«ä¹æ¯ï¼å°½ç®¡æ´æ©çå¼å¯è½å·¥ä½ï¼ä½ä¸è½ä¿è¯ä»ä»¬åå¯ä»¥ã)
DATE ç±»åå¯ç¨äºéè¦ä¸ä¸ªæ¥æå¼èä¸éè¦æ¶é´é¨åæ¶ãMySQL 以 'YYYY-MM-DD' æ ¼å¼æ£ç´¢ä¸æ¾ç¤º DATE å¼ãæ¯æçèå´æ¯ '1000-01-01' å° '9999-12-31'ã
TIMESTAMP åç±»åæä¾äºä¸ç§ç±»åï¼éè¿å®ä½ å¯ä»¥ä»¥å½åæä½çæ¥æåæ¶é´èªå¨å°æ è®° Insert æUpdate æä½ãå¦æä¸å¼ 表ä¸æå¤ä¸ª TIMESTAMP åï¼åªæ第ä¸ä¸ªè¢«èªå¨æ´æ°ã