---
title: "string(from:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/iso8601dateformatter/string(from:)"
---

# string(from:)

Creates and returns an ISO 8601 formatted string representation of the specified date.

## Declaration

```swift
func string(from date: Date) -> String
```

## Parameters

- `date`: The date to be represented.

## Return Value

Return Value A user-readable string representing the date.

## See Also

### Converting ISO 8601 Dates

- [date(from:)](foundation/iso8601dateformatter/date(from:).md)
- [string(from:timeZone:formatOptions:)](foundation/iso8601dateformatter/string(from:timezone:formatoptions:).md)
