<?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: IsDate validation of Text time is returning wrong value in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/IsDate-validation-of-Text-time-is-returning-wrong-value/m-p/96046#M44424</link>
    <description>Hi Avinash,&lt;BR /&gt;&lt;BR /&gt;As per the Microsoft &lt;A href="https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/isdate-function" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; IsDate will return true if it is valid date or valid time or both. As a work around you can use code stage to validate date, Please find the code snippet for Date validation.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="34939.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35002i066359B2B96E0C8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="34939.png" alt="34939.png" /&gt;&lt;/span&gt;&lt;BR /&gt;This code will Match the date exactly in the format of "M/dd/yyyy", based on our need we can update the format like "dd/MM/yyyy" etc.</description>
    <pubDate>Thu, 05 Aug 2021 08:00:50 GMT</pubDate>
    <dc:creator>SrinivasaTammin</dc:creator>
    <dc:date>2021-08-05T08:00:50Z</dc:date>
    <item>
      <title>IsDate validation of Text time is returning wrong value</title>
      <link>https://community.blueprism.com/t5/Product-Forum/IsDate-validation-of-Text-time-is-returning-wrong-value/m-p/96045#M44423</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Just tried checking a text value of time with IsDate function and it is throwing result as True.&lt;BR /&gt;The expectation is to have the value as False since it is a Time value.&lt;BR /&gt;&lt;BR /&gt;The same result is observed for IsDate(), IsDateTime() and IsTime?&lt;BR /&gt;&lt;BR /&gt;How could we fix this?&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="34940.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35003i3BA3D30567535EE8/image-size/large?v=v2&amp;amp;px=999" role="button" title="34940.png" alt="34940.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Avinash&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 01:34:06 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/IsDate-validation-of-Text-time-is-returning-wrong-value/m-p/96045#M44423</guid>
      <dc:creator>AvinashRamkumar</dc:creator>
      <dc:date>2021-08-05T01:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: IsDate validation of Text time is returning wrong value</title>
      <link>https://community.blueprism.com/t5/Product-Forum/IsDate-validation-of-Text-time-is-returning-wrong-value/m-p/96046#M44424</link>
      <description>Hi Avinash,&lt;BR /&gt;&lt;BR /&gt;As per the Microsoft &lt;A href="https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/isdate-function" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; IsDate will return true if it is valid date or valid time or both. As a work around you can use code stage to validate date, Please find the code snippet for Date validation.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="34939.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35002i066359B2B96E0C8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="34939.png" alt="34939.png" /&gt;&lt;/span&gt;&lt;BR /&gt;This code will Match the date exactly in the format of "M/dd/yyyy", based on our need we can update the format like "dd/MM/yyyy" etc.</description>
      <pubDate>Thu, 05 Aug 2021 08:00:50 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/IsDate-validation-of-Text-time-is-returning-wrong-value/m-p/96046#M44424</guid>
      <dc:creator>SrinivasaTammin</dc:creator>
      <dc:date>2021-08-05T08:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: IsDate validation of Text time is returning wrong value</title>
      <link>https://community.blueprism.com/t5/Product-Forum/IsDate-validation-of-Text-time-is-returning-wrong-value/m-p/96047#M44425</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="aa429a2d-02c4-46dd-a53d-7ef496be1e0c" data-tag-text="@Avinash Ramkumar" href="https://community.blueprism.com/network/profile?UserKey=aa429a2d-02c4-46dd-a53d-7ef496be1e0c" data-itemmentionkey="e89bc8af-240d-46cc-be48-e3a848b4bb04"&gt;@Avinash Ramkumar&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Since you have used a text datatype inside IsDate() function hence blue prism automatically appends date before the time and gives you the True result. You can first convert the text type to Time/DateTime/Date type and then use the function. It will give correct results.​</description>
      <pubDate>Thu, 05 Aug 2021 21:08:47 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/IsDate-validation-of-Text-time-is-returning-wrong-value/m-p/96047#M44425</guid>
      <dc:creator>ritansh.jatwani</dc:creator>
      <dc:date>2021-08-05T21:08:47Z</dc:date>
    </item>
  </channel>
</rss>

