# SaveSettings.LastModificationDate Property

> Sets the date the document is last modified.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > SaveSettings.LastModificationDate Property
- **471 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/savesettings/lastmodificationdate-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/savesettings/lastmodificationdate-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/savesettings/lastmodificationdate-property/llms-full.txt

---

### Description

Sets the date the document is last modified.

### Syntax

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

```vbnet
Public Property LastModificationDate As DateTime
```

### Examples

The following example configures how the current document is exported to WordprocessingML by using `SaveSettings.LastModificationDate`.

```csharp
textControl.Text = "Quarterly results";
SaveSettings saveSettings = new();

saveSettings.LastModificationDate = DateTime.Today;
Console.WriteLine($"Last Modification Date used by Save Settings: {saveSettings.LastModificationDate}");

textControl.Save("quarterly-results.docx", StreamType.WordprocessingML, saveSettings);
```

```vbnet
textControl.Text = "Quarterly results"
Dim saveSettings As New SaveSettings()

saveSettings.LastModificationDate = Date.Today
Console.WriteLine($"Last Modification Date used by Save Settings: {saveSettings.LastModificationDate}")

textControl.Save("quarterly-results.docx", StreamType.WordprocessingML, saveSettings)
```

---

## Nearby

- **Previous:** [SaveSettings.ImageSavePath Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/savesettings/imagesavepath-property/llms-full.txt)
- **Next:** [SaveSettings.OmittedContent Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/savesettings/omittedcontent-property/llms-full.txt)
