These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

File Modified Date?

Helheim
Registered: May 4 2010
Posts: 4

I want to put the file Modified date in the footer using some JavaScript but this.modDate returns the modified date in the pdf properties not the actual file modifed date. I've tried a few things but can't find away to get the date I'm looking for, is it possible?

Thanks

My Product Information:
Acrobat Standard 9.3.1, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
The OS dates are the date when the file was created on the OS or modified on the OS. The dates within the PDF are the actual dates the PDF was created or last modified. So if one downloads a file the OS will show the creation date and modified date that the file was created on the local OS system and not the actual date the file was originally created.

You might also want to look at MS Office documents and you will note that the OS dates and the internal document dates do not agree.

George Kaiser

Helheim
Registered: May 4 2010
Posts: 4
In this case what I want is the OS date, is there anyway to get it? I even tried using ActiveX but that doesn't work in Acrobat.

myObject = new ActiveXObject("Scripting.FileSystemObject");
..........
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
JavaScirpt within Acrobat has been compared to playing in sandbox in which one very limited exits form the sandbox to the outside world.

Have you looked at Acrobat SDK to create a plug-in that will provide IAC, Inter Application Communication to other programing languages that can access the OS?

George Kaiser