convert time to string

convert time to string