You are comparing two different kinds of dates.

The "date modified" property of a file - any file on any operating system is changed in many ways depending on the OS. This date is of no interest to the POI api. These system properties are stored in the directory and not in the file.

The dates in HPSF will be document metadata internal to the file operated on by an application. They are changed by Word, POI, OpenOffice, etc.

I hope this clears up the issue for you.

Regards,
Dave

On Jun 17, 2009, at 10:54 AM, panpan wrote:


Hello All,

I had a problem which is bothering me.

I'm trying to get the property "Date modifed" for the file, but I coudn't find it either from SummaryInformation stream or DocumentSummaryInformation stream. The most like one is getLastSaveDateTime() from SummaryInformation
strea.

I've compare the value between LastSavedateTime() and "Date modifed"
property, they're different.

Please advise.

Thanks,
pp


--
View this message in context: 
http://www.nabble.com/HPSF--how-to-get-Word-property-%22Date-modified%22-tp24078783p24078783.html
Sent from the POI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to