converting time from iso8601 to struct tm