enhance date type handle