Support timestamp type to getString