Free Support Forum - aspose.com

Saved DOCX file timestamp issue

Document doc = new Document(file);
doc.save(newFile);

Time and date stamp of the newly saved file will get from the save timestamp of the loaded file.
How could we make the saved file with a new save-time timestamp?

Hi,

Please try using setLastSavedTime(java.util.Date value) method of BuiltInDocumentProperties class. I hope it will help.