change time format with strftime.