docs/Classes/URLEncodedFormEncoder/DateEncoding.html
public enum DateEncoding
Encoding to use for Date values.
`
deferredToDate
`
Defers encoding to the Date type. This is the default encoding.
Swift
case deferredToDate
`
secondsSince1970
`
Encodes Dates as seconds since midnight UTC on January 1, 1970.
Swift
case secondsSince1970
`
millisecondsSince1970
`
Encodes Dates as milliseconds since midnight UTC on January 1, 1970.
Swift
case millisecondsSince1970
`
iso8601
`
Encodes Dates according to the ISO8601 and RFC3339 standards.
Swift
case iso8601
`
formatted(_:)
`
Encodes Dates using the given DateFormatter.
Swift
case formatted(DateFormatter)
`
custom(_:)
`
Encodes Dates using the given closure.
Swift
case custom((Date) throws -> String)