content_image/665301.jpg
All numbers are rounded toward zero. 

-> 1028 

In MySQL 8.0.21 and later, the data type returned by TRUNCATE()  follows the same rules that determine the return type of the ROUND()  function; for details, see the description for ROUND() . 

## 12.7 Date and Time Functions 

This section describes the functions that can be used to manipulate temporal values. See Section 11.2, “Date and Time Data Types” , for a description of the range of values each date and time type has and the valid formats in which values may be specified. 

## Table 12.11 Date and Time Functions 

<img src='content_image/665301.jpg'>

