add char and date method

Signed-off-by: Zhi-zhou Zhang <zhizhou.zh@gmail.com>