天蓬老师2017-04-17 16:12:09
Then there is no way to use TIMESTAMP
You can consider using the DATETIMEtype
DATE range '1000-01-01' to '9999-12-31'
DATETIME'1000-01-01 00:00:00' to '9999-12-31 23:59:59'
TIMESTAMP '1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07' UTC
PHPz2017-04-17 16:12:09
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
Make sure the negative number you save is relative to 1970-01-01 00:00:01, there is no problem in this calculation
1 |
|