---
title: "conversational(_:)"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/date/formatstyle/symbol/dayperiod/conversational(_:)"
---

# conversational(_:)

Static factory method that creates a custom day period format style using a conversational style.

## Declaration

```swift
static func conversational(_ width: Date.FormatStyle.Symbol.DayPeriod.Width) -> Date.FormatStyle.Symbol.DayPeriod
```

## Parameters

- `width`: Specifies the width of the string result.

## Return Value

Return Value A day period format style appropriate for the locale and specified width.

## See Also

### Modifying a Day Period

- [standard(_:)](foundation/date/formatstyle/symbol/dayperiod/standard(_:).md)
- [with12s(_:)](foundation/date/formatstyle/symbol/dayperiod/with12s(_:).md)
