I am working on an app in which I need to show the date when google doc was last edited.
Snapshot Here
I am able to get last modified date through Drive api
In Google Apps Script there is a DriveApp service that you can use. Something like this will work:
function lastUpdatedOn() {
var FILE_ID = 'FILEID';
return DriveApp.getFileById(FILE_ID).getLastUpdated();
}
The documentation for that is here: https://developers.google.com/apps-script/reference/drive/file#getlastupdated
Hope that helps.