Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / PdfDateTime Structure

In This Topic
    PdfDateTime Structure
    In This Topic
    Represents a PDF DateTime type.
    Object Model
    PdfDateTime Structure
    Public Structure PdfDateTime 
       Inherits System.ValueType
    public struct PdfDateTime : System.ValueType 

    The PDF Specification does not define a special type for DateTime values, such values are stored as strings in a special format, similar to (D:YYYYMMDDHHmmSSOHH'mm'), see the spec for details (PDF 1.7 chapter 3.8.3).

    But there are many PDF documents in which DateTime strings are specified in some custom format, for example using a regional format. GcPdf uses this struct when processing such values. Where possible, the value is converted to System.DateTimeOffset, otherwise it preserves the original string value.

    Inheritance Hierarchy


    See Also