Avatar
@swift-4.1.3 import Foundation let calendar = Calendar.init(identifier: Calendar.Identifier.gregorian) DispatchQueue.concurrentPerform(iterations: 1000) { i in let timeZone = TimeZone(secondsFromGMT: 0)! let components: DateComponents = calendar.dateComponents(in: timeZone, from: Date()) }