PdfInfo.CreationDate Property

Gets or sets the date and time the document was created.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public DateTime? CreationDate { get; set; }
VB
Public Property CreationDate As DateTime?
	Get
	Set

Property Value

Type: Nullable<DateTime>
The date and time the document was created or null if there is no value set for this property.

Remarks

Default value: the current time.

Returned date and time (what you get) expressed in UTC (Coordinated Universal Time).

Provided date and time (what you set) can be in UTC or local time zone but UTC is recommended. Milliseconds of the provided time are ignored.

The library can automatically update the value of this property before saving the document. Please see the UpdateCreationDate option for more information.

See Also