# DateField.Date Property

> Sets the date of the field.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 15.0
- **Namespace:** `TXTextControl.DocumentServer.Fields`
- **Package:** `TXTextControl.TextControl.WinForms.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 for Windows Forms > Reference > TXTextControl.DocumentServer.Fields > DateField.Date Property
- **294 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/datefield/date-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/datefield/date-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/datefield/date-property/llms-full.txt

---

### Description

Sets the date of the field.

### Syntax

```csharp
public DateTime Date { get; set; }
```

```vbnet
Public Property [Date] As DateTime
```

### Examples

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

```csharp
dateField.Date = DateTime.Today;
Console.WriteLine($"Date used by Date Field: {dateField.Date}");
```

```vbnet
dateField.Date = Date.Today
Console.WriteLine($"Date used by Date Field: {dateField.Date}")
```

---

## Nearby

- **Previous:** [DateField.Culture Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/datefield/culture-property/llms-full.txt)
- **Next:** [DateField.Format Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/datefield/format-property/llms-full.txt)
