. .

MySQL

» PHP » MySQL » MySQL

: DATETIME, DATE, TIMESTAMP, TIME YEAR. , , , , MySQL ( ). , , !

, , , . , MySQL , 1999-11-31. , - , SQL.

, MySQL , 0-12, 0-31. , MySQL DATE DATETIME , .

, , . 1999-00-00 1999-01-00.

, :

  • MySQL , , (, , ). , . , , , . ;
  • MySQL , , . -- (, 98-09-04);
  • MySQL , , ;
  • MySQL , - , . , 0, ! : TIME . . 5.1 :
  • 5.1. .

    DATETIME 0000-00-00 00:00:00
    DATE 0000-00-00
    TIMESTAMP 00000000000000 ( )
    TIME '00:00:00'
    YEAR 0000
  • , , , . , 0 0.