converted times to TimeSpan