<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to get the folder or file modified date as timestamp from a site?  in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-the-folder-or-file-modified-date-as-timestamp-from-a/m-p/95558#M28126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By default values are stored as timestamp in the DB. You need to extract the values and convert to any format you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date modifiedDate = (Date) properties.get(ContentModel.PROP_MODIFIED);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can parse and convert the above date to any format you want as per your requirement.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Aug 2019 13:37:46 GMT</pubDate>
    <dc:creator>abhinavmishra14</dc:creator>
    <dc:date>2019-08-05T13:37:46Z</dc:date>
    <item>
      <title>how to get the folder or file modified date as timestamp from a site?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-the-folder-or-file-modified-date-as-timestamp-from-a/m-p/95557#M28125</link>
      <description>Can Anyone Help me in this..</description>
      <pubDate>Mon, 05 Aug 2019 12:14:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-the-folder-or-file-modified-date-as-timestamp-from-a/m-p/95557#M28125</guid>
      <dc:creator>raju_gonda</dc:creator>
      <dc:date>2019-08-05T12:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the folder or file modified date as timestamp from a site?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-get-the-folder-or-file-modified-date-as-timestamp-from-a/m-p/95558#M28126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By default values are stored as timestamp in the DB. You need to extract the values and convert to any format you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date modifiedDate = (Date) properties.get(ContentModel.PROP_MODIFIED);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can parse and convert the above date to any format you want as per your requirement.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 13:37:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-get-the-folder-or-file-modified-date-as-timestamp-from-a/m-p/95558#M28126</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2019-08-05T13:37:46Z</dc:date>
    </item>
  </channel>
</rss>

