<?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 check if a DateTime data item is empty or not? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-check-if-a-DateTime-data-item-is-empty-or-not/m-p/93930#M43357</link>
    <description>Hi, Tejas you can do one workaround if the Datetime data item has value in it.&lt;BR /&gt;&lt;BR /&gt;1.In a calculation stage, try to convert it into some date- for ex - dd-MM-yyyy&lt;BR /&gt;2, If it has the value, it will give a value in the output of the calculation stage, if not it will be empty.&lt;BR /&gt;3.If it's empty then your Datetime data item is also empty.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24616.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24750i1E3F22F7664F5445/image-size/large?v=v2&amp;amp;px=999" role="button" title="24616.png" alt="24616.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24617.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24749i6C4FC798C93476C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="24617.png" alt="24617.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Murali&lt;BR /&gt;RPA Consultant&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 27 Sep 2021 10:30:00 GMT</pubDate>
    <dc:creator>krishna.kodimurali9</dc:creator>
    <dc:date>2021-09-27T10:30:00Z</dc:date>
    <item>
      <title>How to check if a DateTime data item is empty or not?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-check-if-a-DateTime-data-item-is-empty-or-not/m-p/93929#M43356</link>
      <description>How to check if a DateTime data item is empty or not?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;I tried these 3 and its not working.&lt;BR /&gt;&lt;BR /&gt;1. [My DateTime]&amp;lt;&amp;gt;""&lt;BR /&gt;2. Len([My DateTime])&amp;gt;0&lt;BR /&gt;3. Used Filter collection but that throws an error because it supports string only.&lt;BR /&gt;&lt;BR /&gt;If I save "My DateTime" into a Text data item then it automatically saves value 1/1/0001 12:00:00 AM, while "My DateTime" is empty. Stange!!!&lt;BR /&gt;&lt;BR /&gt;How does this work?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. RPA Consultant-Automation Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Sep 2021 10:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-check-if-a-DateTime-data-item-is-empty-or-not/m-p/93929#M43356</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2021-09-27T10:02:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to check if a DateTime data item is empty or not?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-check-if-a-DateTime-data-item-is-empty-or-not/m-p/93930#M43357</link>
      <description>Hi, Tejas you can do one workaround if the Datetime data item has value in it.&lt;BR /&gt;&lt;BR /&gt;1.In a calculation stage, try to convert it into some date- for ex - dd-MM-yyyy&lt;BR /&gt;2, If it has the value, it will give a value in the output of the calculation stage, if not it will be empty.&lt;BR /&gt;3.If it's empty then your Datetime data item is also empty.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24616.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24750i1E3F22F7664F5445/image-size/large?v=v2&amp;amp;px=999" role="button" title="24616.png" alt="24616.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24617.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24749i6C4FC798C93476C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="24617.png" alt="24617.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Murali&lt;BR /&gt;RPA Consultant&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Sep 2021 10:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-check-if-a-DateTime-data-item-is-empty-or-not/m-p/93930#M43357</guid>
      <dc:creator>krishna.kodimurali9</dc:creator>
      <dc:date>2021-09-27T10:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to check if a DateTime data item is empty or not?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-check-if-a-DateTime-data-item-is-empty-or-not/m-p/93931#M43358</link>
      <description>Hi Tejaskumar,&lt;BR /&gt;&lt;BR /&gt;You can use the IsDateTime() function in a Decision or Calculation stage, to test if the data item contains a datetime value.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24618.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24752i469ECB1F8FB3A7D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="24618.png" alt="24618.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24619.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24751i1772D4C961A6B40B/image-size/large?v=v2&amp;amp;px=999" role="button" title="24619.png" alt="24619.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Carl Carter&lt;BR /&gt;Senior Developer&lt;BR /&gt;Blue Prism&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Sep 2021 11:11:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-check-if-a-DateTime-data-item-is-empty-or-not/m-p/93931#M43358</guid>
      <dc:creator>Carl__Carter</dc:creator>
      <dc:date>2021-09-27T11:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to check if a DateTime data item is empty or not?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-check-if-a-DateTime-data-item-is-empty-or-not/m-p/93932#M43359</link>
      <description>Thanks, Murali &amp;amp; Carl. Both solutions are working very fine and as expected. Thanks for the quick help.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. RPA Consultant-Automation Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Sep 2021 12:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-check-if-a-DateTime-data-item-is-empty-or-not/m-p/93932#M43359</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2021-09-27T12:43:00Z</dc:date>
    </item>
  </channel>
</rss>

