I work with doc, docx, rtf, xls and xlsx document formats.
I get all document attributes via BuiltInDocumentProperties.
The Aspose help indicates that we should get DateTime value in UTC but I have problem with RFT document. I got date value which is not in UTC. This date have DateTimeKind.Unspecified type.
Is it possible that I can receive such type values?
Hi Taras,
Thanks for your inquiry. Could you please attach a document you are having a problem with? We will check the issue and provide you more information.
Best regards,
Thanks.
I used this workaround.
It is good solution when I really know this date time has Kind value - Local or Unspecified and date time in Local time value. It is according to this RTF file.
RTF file:
CreateTime attribute has
Kind = Unspecified
Date time Value = in local time zone
But there is one more issue.
I have attached new document(DOC type).
In this case I cannot use this workaround it is already UTC. See red text.
DOC file:
CreateTime attribute has
Kind = Unspecified
Date time Value = in UTC
Hi Taras,
Thank you for additional information. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. We will notify you once the problem is resolved.
Best regards,
Hi Taras,
Thanks for your request. The issue is in the queue for analysis. Once our developers analyze the issue we will provide you more information. I apologize for inconvenience.
Best regards,