<?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 Timestamp format in CMIS query in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/timestamp-format-in-cmis-query/m-p/52504#M19795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help with my question on the Timestamp equal to comparison using CMIS query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The clockDate is an aspect/property for a document.&lt;/P&gt;&lt;P&gt;We see the value of this clockDate for a document in Node Browser as:&lt;BR /&gt;13 Oct 2017 10:26:58 GMT-0400 (EDT)&lt;/P&gt;&lt;P&gt;We see the value of this clockDate for a document in in document library as:&lt;BR /&gt;Fri 13 Oct 2017 10:26:58&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We have a CMIS query that we execute in the Node Browser as:&lt;/P&gt;&lt;P&gt;Select * from cmis:document as d JOIN mystuff:clockableAspect as CA on d.cmis&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId = CA.cmis&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId where CA.mystuff:clockedDateTime = TIMESTAMP 'valueToCompare'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the 'valueToCompare', if we hard-code as '13 Oct 2017 10:26:58 GMT-0400 (EDT)', or as 'Fri 13 Oct 2017 10:26:58', we do not get any result back, and it says 'invalid datetime literal'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;What value/format should we use for the variable valueToCompare so that we can find the exact match?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jan 2018 16:23:14 GMT</pubDate>
    <dc:creator>raghav</dc:creator>
    <dc:date>2018-01-23T16:23:14Z</dc:date>
    <item>
      <title>Timestamp format in CMIS query</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/timestamp-format-in-cmis-query/m-p/52504#M19795</link>
      <description>Please help with my question on the Timestamp equal to comparison using CMIS query.The clockDate is an aspect/property for a document.We see the value of this clockDate for a document in Node Browser as:13 Oct 2017 10:26:58 GMT-0400 (EDT)We see the value of this clockDate for a document in in docume</description>
      <pubDate>Tue, 23 Jan 2018 16:23:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/timestamp-format-in-cmis-query/m-p/52504#M19795</guid>
      <dc:creator>raghav</dc:creator>
      <dc:date>2018-01-23T16:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp format in CMIS query</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/timestamp-format-in-cmis-query/m-p/52505#M19796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check the following thread?&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.alfresco.com/thread/205607-cmis-query-with-a-date#comment-735076" title="https://community.alfresco.com/thread/205607-cmis-query-with-a-date#comment-735076" rel="nofollow noopener noreferrer"&gt;https://community.alfresco.com/thread/205607-cmis-query-with-a-date#comment-735076&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 19:29:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/timestamp-format-in-cmis-query/m-p/52505#M19796</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2018-01-23T19:29:31Z</dc:date>
    </item>
  </channel>
</rss>

