# TimeFormatter()

> Initializes the extension with a default TimeTextInfo.

## Definition

* **Type:** Constructor
* **Namespace:** [Unity.SmartStrings.Extensions](/engine/6000.7/script-reference/unity/smartstrings/extensions.md)
* **Assembly:** UnityEngine.SmartStringsModule

```csharp
public TimeFormatter()
```

### Remarks

Culture is determined in this sequence:

1. Get the culture from the [FormattingInfo.FormatterOptions](/engine/6000.7/script-reference/unity/smartstrings/core/formatting/formattinginfo/formatteroptions.md).
2. Get the culture from the IFormatProvider argument (which may be a CultureInfo) to [SmartFormatter.Format](/engine/6000.7/script-reference/unity/smartstrings/smartformatter/format.md)
3. Get the culture from the selected locale.
4. The CurrentUICulture.[TimeFormatter](/engine/6000.7/script-reference/unity/smartstrings/extensions/timeformatter.md) makes use of [PluralRules](/engine/6000.7/script-reference/unity/smartstrings/utilities/pluralrules.md) and [PluralLocalizationFormatter](/engine/6000.7/script-reference/unity/smartstrings/extensions/plurallocalizationformatter.md).
