API Documentation for Date

NoPoDoFo Date

The Date data type in a PDF must follow a specific format.

class Date {
  new(): Date
  new(timestamp: string): Date

  toString(): string
}

Constructors


Create a new PdfDate object with a timestamp of now

new(): Date

Create an existing timestamp from a string. The string must be formatted in the following: (D:YYYYMMDDHHmmSSOHH'mm')

new(timestamp: string): Date

Properties


Methods


toString

toString(): string

Returns in the the following format: (D:YYYYMMDDHHmmSSOHH'mm').

results matching ""

    No results matching ""