Bug #9697 | Error entering date/time stamp up to 01/01/1970 and earlier | ||
---|---|---|---|
Submitted: | 6 Apr 2005 23:13 | Modified: | 6 Apr 2005 23:37 |
Reporter: | boen liem | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0.3 beta | OS: | Windows (Windows 2000) |
Assigned to: | CPU Architecture: | Any |
[6 Apr 2005 23:13]
boen liem
[6 Apr 2005 23:15]
boen liem
changed the titel 'from' to 'up to'
[6 Apr 2005 23:37]
MySQL Verification Team
This is the behavior of timestamp columns. From Manual: http://dev.mysql.com/doc/mysql/en/datetime.html Remember that although DATETIME, DATE, and TIMESTAMP values all can be specified using the same set of formats, the types do not all have the same range of values. For example, TIMESTAMP values cannot be earlier than 1970 or later than 2037. This means that a date such as '1968-01-01', while legal as a DATETIME or DATE value, is not a valid TIMESTAMP value and is converted to 0 if assigned to such an object.