I'm unable to get the last published date of a resource. There is no way to do that with OpenCms API. http://files.opencms.org/javadoc/core/org/opencms/file/CmsResource.html
That's very weird, it has to be stored in some place because OpenCms Workplace shows this information in the History option.
The method getDateReleased() from CmsResource class always returns DATE_RELEASED_DEFAULT until you set the availability of the resource.
Any thoughts? Thanks!