StandardDateFormat

public enum StandardDateFormat: String

Contains strings representing various date/time formats suitable for use with DateFormatter.

  • The date format string representing an RFC 1123 date.

    Declaration

    Swift

    case rfc1123 = "EEE, dd MMM yyyy HH:mm:ss zzz"
  • The date format string representing an ISO 8601 date.

    Declaration

    Swift

    case iso8601 = "yyyy-MM-dd'T'HH:mm:ss.SSSZ"