# DocumentSettings.CreationDate Property

> Gets or sets the document's creation date. It is January 1, 0001 in the Gregorian calendar, if there is no creation date contained in the current document.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 29.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.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 Server > Reference > TXTextControl > DocumentSettings.CreationDate Property
- **460 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentsettings/creationdate-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentsettings/creationdate-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentsettings/creationdate-property/llms-full.txt

---

### Description

Gets or sets the document's creation date. It is January 1, 0001 in the Gregorian calendar, if there is no creation date contained in the current document.

### Syntax

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

```vbnet
Public Property CreationDate As DateTime
```

### Examples

The following example configures document settings for the current document by using `DocumentSettings.CreationDate`.

```csharp
DocumentSettings documentSettings = textControl.DocumentSettings;

documentSettings.CreationDate = DateTime.Today;
Console.WriteLine($"Creation Date used by Document Settings: {documentSettings.CreationDate}");

documentSettings.DocumentTitle = "Quarterly results";
documentSettings.Author = "Finance team";
```

```vbnet
Dim documentSettings As DocumentSettings = textControl.DocumentSettings

documentSettings.CreationDate = Date.Today
Console.WriteLine($"Creation Date used by Document Settings: {documentSettings.CreationDate}")

documentSettings.DocumentTitle = "Quarterly results"
documentSettings.Author = "Finance team"
```

---

## Nearby

- **Previous:** [DocumentSettings.Author Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentsettings/author-property/llms-full.txt)
- **Next:** [DocumentSettings.CreatorApplication Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/documentsettings/creatorapplication-property/llms-full.txt)
