Call Aspose.Pdf.DocumentInfo. ModDate failed with the message: Should be specified local time

Hi,
we have problem with Aspose.PDF components.
It happens randomly that the signature of the document ends up with an error “ModDate is empty”.
We tried to fill ModDate 2 with:

  • PdfDocument.ModDate
  • PdfDocumentInfo.ModDate

Both way raise error “ModDate failed with the message: Should be specified local time”.

The Aspose.PDF componnent is used in MS Business Central 14.To work with Aspose.PDF we use the .NET libraries.

Can anyone help? What it means “local time”?

Thanks in advance

Jakub

@JHDev
This message is issued when properties
PdfDocumentInfo.CreationDate or PdfDocumentInfo.ModDate is assigned a DateTime value whose Kind == DateTimeKind.Utc