Access photoshop document modified date

Good morning!

Is there a way of having access to the photoshop document modified date?

tried several ways for now but none worked

const modifiedDate = doc.path.modified;
const createdDate = doc.path.created;
const cdate = doc.info.creatioDate;

Is there a way of getting the entry of the document and then maybe use the entry metadata?
something like:
doc.getEntry().getMetadata().getDateCreated

Tks and Best regards!

Antonio

Entry.getMetadata()
EntryMetadata.dateCreated
EntryMetadata.dateModified

Thanks @Karmalakas this I know. I wanted to know if its possible to access Entry from Photoshop document, but I can’t find anything:

https://developer.adobe.com/photoshop/uxp/2022/ps_reference/classes/document/

Can I get the entry from app.document.path maybe?

Thanks

Ah, I misunderstood. Not sure then. I guess you might need to show a file picker to get entry. But don’t know :confused:

1 Like