pub fn adjust_time(time: i64, typmod: i32) -> i64
AdjustTimeForTypmod: the time rounded to the precision of the typmod.
AdjustTimeForTypmod