Click or drag to resize

PdfFileCreationDate Property

Gets or sets the date and time when the embedded file was created.

Namespace: Patagames.Pdf.Net.Wrappers
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public string CreationDate { get; set; }

Property Value

String
Remarks

PDF defines a standard date format, which closely follows that of the international standard ASN.1 (Abstract Syntax Notation One), defined in ISO/IEC 8824 A date is a string of the form

D:YYYYMMDDHHmmSSOHH'mm'

where YYYY is the year; MM is the month; DD is the day(01–31); HH is the hour(00–23); mm is the minute(00–59); SS is the second(00–59); O is the relationship of local time to Universal Time(UT), denoted by one of the characters +, −, or Z; HH followed by ' is the absolute value of the offset from UT in hours (00–23), mm followed by ' is the absolute value of the offset from UT in minutes (00–59)

The apostrophe character (') after HH and mm is part of the syntax. All fields after the year are optional. (The prefix D:, although also optional, is strongly recommended.) The default values for MM and DD are both 01; all other numerical fields default to zero values. A plus sign (+) as the value of the O field signifies that local time is later than UT, a minus sign(−) signifies that local time is earlier than UT, and the letter Z signifies that local time is equal to UT.If no UT information is specified, the relationship of the specified time to UT is considered to be unknown.Regardless of whether the time zone is known, the rest of the date should be specified in local time.

For example, December 20, 2018, at 3:50 PM, U.S. Pacific Standard Time, is represented by the string

D:201812201550−08'00'

See Also