# MailMerge.DateFieldUtcOffset Property

> Specifies the UTC offset in minutes to apply to date fields. If this property is null, the local date and time is used. The default value of this property is null.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 31.0
- **Namespace:** `TXTextControl.DocumentServer`
- **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 > MailMerge.DateFieldUtcOffset Property
- **409 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/mailmerge/datefieldutcoffset-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/mailmerge/datefieldutcoffset-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/mailmerge/datefieldutcoffset-property/llms-full.txt

---

### Description

Specifies the UTC offset in minutes to apply to date fields. If this property is null, the local date and time is used. The default value of this property is null.

### Syntax

```csharp
public int? DateFieldUtcOffset { get; set; }
```

```vbnet
Public Property DateFieldUtcOffset As Integer?
```

### Examples

The following example uses `MailMerge.DateFieldUtcOffset` to configure date field utc offset as part of the mail merge workflow. The configured value is checked before the workflow continues.

```csharp
mailMerge.DateFieldUtcOffset = 10;
if (mailMerge.DateFieldUtcOffset != null)
{
    Console.WriteLine("Mail Merge: Date Field Utc Offset is available.");
}
```

```vbnet
mailMerge.DateFieldUtcOffset = 10
If mailMerge.DateFieldUtcOffset IsNot Nothing Then
    Console.WriteLine("Mail Merge: Date Field Utc Offset is available.")
End If
```

---

## Nearby

- **Previous:** [MailMerge.DataSourceCulture Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/mailmerge/datasourceculture-property/llms-full.txt)
- **Next:** [MailMerge.FieldMerged Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/mailmerge/fieldmerged-event/llms-full.txt)
