# DateField.Culture Property

> Specifies a CultureInfo instance that supplies culture-specific formatting information which is used when applying the formatting string to the field content. The default value for this property is the current thread culture.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 31.0
- **Namespace:** `TXTextControl.DocumentServer.Fields`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXDocumentServer.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXDocumentServer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.DocumentServer.Fields > DateField.Culture Property
- **434 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/datefield/culture-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/datefield/culture-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/datefield/culture-property/llms-full.txt

---

### Description

Specifies a CultureInfo instance that supplies culture-specific formatting information which is used when applying the formatting string to the field content. The default value for this property is the current thread culture.

### Syntax

```csharp
public CultureInfo Culture { get; set; }
```

```vbnet
Public Property Culture As CultureInfo
```

### Examples

The following example uses `DateField.Culture` to configure culture as part of the date field workflow. The configured value is checked before the workflow continues.

```csharp
dateField.Culture = System.Globalization.CultureInfo.GetCultureInfo("en-US");
if (dateField.Culture != null)
{
    Console.WriteLine("Date Field: Culture is available.");
}
```

```vbnet
dateField.Culture = System.Globalization.CultureInfo.GetCultureInfo("en-US")
If dateField.Culture IsNot Nothing Then
    Console.WriteLine("Date Field: Culture is available.")
End If
```

---

## Nearby

- **Previous:** [DateField Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/datefield/constructor/llms-full.txt)
- **Next:** [DateField.Date Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/datefield/date-property/llms-full.txt)
