Hi,
I have a problem with the attached document (Test Convert SaveDate.zip) (21.1 KB). I have tried to simplify the issue as much as possible.
There are 2 dates in the document Created (24/08/2017 15:46) and Last Modified (05/09/2017 10:16). In the footer there is a field:
{ SAVEDATE \@ "d.M.yyyy" \* MERGEFORMAT }
which correctly shows “5.9.2017”. You can update the field value and it doesn’t change so it’s reading it fine.
When using the sample code (Programming-Documents/Fields/ConvertFieldsInDocument.cs) and changing the Fields Helper to convert Save Date as such:
FieldsHelper.ConvertFieldsToStaticText(doc, FieldType.FieldSaveDate);
The Date thats written is the Creation Date not the Saved Date. Ie the resuling test that’s added is “24.8.2017” whcih is wrong.
Can you see any reason why this happens and how to fix it?
Regards,