string(from:)
Creates and returns an ISO 8601 formatted string representation of the specified date.
Declaration
func string(from date: Date) -> StringParameters
- date:
The date to be represented.
Return Value
A user-readable string representing the date.