TIMESTAMP stores a combined DATE and TIME value to be stored. It permits a fractional-seconds value of up to nine digits.
java.sql.Timestamp
TIMESTAMP
Dates, times, and timestamps cannot be mixed with one another in expressions.
The year must always have four digits. Months, days, and hours may have one or two digits. Minutes and seconds must have two digits. Nanoseconds, if present, may have between one and six digits.