DateFormatter
public extension DateFormatter
-
Declaration
Swift
convenience init(format: String? = nil, timeZone: TimeZone? = .current, locale: Locale? = Locale(identifier: "en_US_POSIX"))Parameters
formatThe desired format
timeZoneThe time zone that will be used
localeThe locale that will be used
DateFormatter Extension Reference