support time.Time