The transformation between date type and string type can calculate the time difference between two dates, calculate the maximum number of days in a month, and so on, and achieve various ways to deal with date types.