We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Value of “Last Modified” property is changed to TODAY when OOXML file is converted to legacy format

Scenario : Open existing or create new PPTM file using MS PowerPoint. Use PowerPoint to get “Last Modified” built-in property (File > Info). Then use Aspose.Slides to convert file to PPT format.

Issue : Value of “Last Modified” property is different. New value is changed to TODAY.


I have observed the issue shared by you and request you to please share the source presentation, generated presentation and used sample code reproducing the issue along with snapshot. I also suggest you to please first try using latest Aspose.Slides for .NET 18.8 on your end.


sample-presentations.zip (70.3 KB)

var p = new Presentation("pptm.pptm");
p.Save("pptm.pptm,ppt", SaveFormat.Ppt);



When you load and save the presentation the Last Saved Time automatically gets updated in saved presentation. So, you can use the following alternate code to retain the old documentation properties in presentation.

    public static void UpdateDocProperties()
        String path = @"F:\Aspose Data\sample-presentations\";

        var props = PresentationFactory.Instance.GetPresentationInfo(path + "pptm.pptm").ReadDocumentProperties();
        Presentation pres = new Presentation(path + "pptm.pptm");
        pres.Save(path+"Pptm_Saved.ppt", Aspose.Slides.Export.SaveFormat.Ppt);

        // Read and correct saved presentation properties
        IPresentationInfo pInfo = PresentationFactory.Instance.GetPresentationInfo(path + "Pptm_Saved.ppt");

        pInfo.WriteBindedPresentation(path + "Pptm_Saved.ppt");