Can Anyone Help me in this..
By default values are stored as timestamp in the DB. You need to extract the values and convert to any format you want.
Use Java backed APIs to get the cm:modified property using the nodeRefs of a folder/file. The value is of type Serializable and when you cast it to java.util.Date, you would get the timestamp automatically.
Date modifiedDate = (Date) properties.get(ContentModel.PROP_MODIFIED);
You can parse and convert the above date to any format you want as per your requirement.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.