> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WriteDateEnum

WriteDateEnum enumeration constants are used to describe the various options of writing the creation and modification dates into the output file in PDF or XPS format.

```
typedef enum {
 WD_No,
 WD_Current,
 WD_DocumentContentInfo,
 WD_DocumentContentInfoOrCurrent
} WriteDateEnum;
```

## Elements

| Name                               | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| WD\\\_Current                      | The current date will be written in the output document.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| WD\\\_DocumentContentInfo          | Use the date specified in the corresponding property of the [DocumentContentInfo](/fine-reader/engine/api-reference/document-related-objects/documentcontentinfo) object ([CreationDate](/fine-reader/engine/api-reference/document-related-objects/documentcontentinfo#creation_date) or [ModificationDate](/fine-reader/engine/api-reference/document-related-objects/documentcontentinfo#modification_date)).<br />The date in the output document must have valid format (D:YYYYMMDDHHmmSSOHH'mm, as specified by the PDF 2.0 standard). If the date is empty or has invalid format, an error will be returned.                                                                        |
| WD\\\_DocumentContentInfoOrCurrent | Use the date specified in the corresponding property of the [DocumentContentInfo](/fine-reader/engine/api-reference/document-related-objects/documentcontentinfo) object ([CreationDate](/fine-reader/engine/api-reference/document-related-objects/documentcontentinfo#creation_date) or [ModificationDate](/fine-reader/engine/api-reference/document-related-objects/documentcontentinfo#modification_date)).<br />The date in the output document must have valid format (D:YYYYMMDDHHmmSSOHH'mm, as specified by the PDF 2.0 standard). If the date is empty, then the current date will be written in the output document. If the date format is invalid, an error will be returned. |
| WD\\\_No                           | No date will be written in the output document.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |

## Used in

[IDocumentContentInfoWritingParams::WriteCreationDate](/fine-reader/engine/api-reference/parameter-objects/export-parameters/documentcontentinfowritingparams#writecreationdate)

[IDocumentContentInfoWritingParams::WriteModificationDate](/fine-reader/engine/api-reference/parameter-objects/export-parameters/documentcontentinfowritingparams#writemodificationdate)
