For example, the time field in sql is
2018-12-14 10:13:26.
To get the year, month, and day of this time:
Get: Day
SELECT DAY (record_time) FROM sys_honorrecord
Get: Month
SELECT MONTH (record_time) FROM sys_honorrecord
Get: Year
SELECT YEAR (record_time) FROM sys_honorrecord