<?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 Six-digit number, store as date, compare to masked data in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Six-digit-number-store-as-date-compare-to-masked-data/m-p/83907#M35120</link>
    <description>Apologies for the somewhat confusing title - I'll try to break it down a bit here!&lt;BR /&gt;&lt;BR /&gt;So, this object that I'm currently working on receives data from an API call. A date would be in the format of 130921, which is stored as a number in a collection. The object then writes this into a web form, which gets understood and converted to 13 September 2021. This all works absolutely fine as it should do.&lt;BR /&gt;&lt;BR /&gt;However, for good practice purposes, I would like to add a read stage at the end of this particular page on the object to ensure that the date has been written successfully.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The first problem is how do I get Blue Prism to recognise the number '130921' as a date? I currently receive the message 'cannot be interpreted as date' during a calc stage with the expression ToDate("130921") (obviously this will reflect the location this value is stored in).&lt;BR /&gt;&lt;BR /&gt;Once I've managed that, how do I go about amending the masking for this date in order to turn (presumably) 13/09/21 to 13 September 2021 in order to check that the read value matches the initial input value?&lt;BR /&gt;&lt;BR /&gt;Hopefully that all makes sense!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Hammond&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 13 Sep 2021 11:29:00 GMT</pubDate>
    <dc:creator>john.hammond</dc:creator>
    <dc:date>2021-09-13T11:29:00Z</dc:date>
    <item>
      <title>Six-digit number, store as date, compare to masked data</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Six-digit-number-store-as-date-compare-to-masked-data/m-p/83907#M35120</link>
      <description>Apologies for the somewhat confusing title - I'll try to break it down a bit here!&lt;BR /&gt;&lt;BR /&gt;So, this object that I'm currently working on receives data from an API call. A date would be in the format of 130921, which is stored as a number in a collection. The object then writes this into a web form, which gets understood and converted to 13 September 2021. This all works absolutely fine as it should do.&lt;BR /&gt;&lt;BR /&gt;However, for good practice purposes, I would like to add a read stage at the end of this particular page on the object to ensure that the date has been written successfully.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The first problem is how do I get Blue Prism to recognise the number '130921' as a date? I currently receive the message 'cannot be interpreted as date' during a calc stage with the expression ToDate("130921") (obviously this will reflect the location this value is stored in).&lt;BR /&gt;&lt;BR /&gt;Once I've managed that, how do I go about amending the masking for this date in order to turn (presumably) 13/09/21 to 13 September 2021 in order to check that the read value matches the initial input value?&lt;BR /&gt;&lt;BR /&gt;Hopefully that all makes sense!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Hammond&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Sep 2021 11:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Six-digit-number-store-as-date-compare-to-masked-data/m-p/83907#M35120</guid>
      <dc:creator>john.hammond</dc:creator>
      <dc:date>2021-09-13T11:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: Six-digit number, store as date, compare to masked data</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Six-digit-number-store-as-date-compare-to-masked-data/m-p/83908#M35121</link>
      <description>Hello John,&lt;BR /&gt;First Type Case the number to Text and add "." to format like 13.09.2021&lt;BR /&gt;&lt;BR /&gt;Text can be type casted into Date or Date Time with Format Functions available in Calculation Stages.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ved Sengupta&lt;BR /&gt;RPA Developer&lt;BR /&gt;Deloitte India (Offices of the US)&lt;BR /&gt;Bangalore | INDIA&lt;BR /&gt;------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Sep 2021 13:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Six-digit-number-store-as-date-compare-to-masked-data/m-p/83908#M35121</guid>
      <dc:creator>VedSengupta</dc:creator>
      <dc:date>2021-09-13T13:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: Six-digit number, store as date, compare to masked data</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Six-digit-number-store-as-date-compare-to-masked-data/m-p/83909#M35122</link>
      <description>Here is the solution. It uses the same concept as Ved mentioned using Date transformations. &lt;BR /&gt;&lt;BR /&gt;Here I'm assuming that your input is always going to be in DDMMYYYY format as plain text.&lt;BR /&gt;&lt;BR /&gt;It works fine. Take a look.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23716.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23850iDF561B6C264C40AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="23716.png" alt="23716.png" /&gt;&lt;/span&gt;&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, 13 Sep 2021 14:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Six-digit-number-store-as-date-compare-to-masked-data/m-p/83909#M35122</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2021-09-13T14:23:00Z</dc:date>
    </item>
    <item>
      <title>RE: Six-digit number, store as date, compare to masked data</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Six-digit-number-store-as-date-compare-to-masked-data/m-p/83910#M35123</link>
      <description>Thank you Ved (and Tejaskumar) - I placed all of that in a Multicalc and it worked a treat.&lt;BR /&gt;For anyone who comes afterwards, this is what I entered:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23717.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23849iBBC6935954913F89/image-size/large?v=v2&amp;amp;px=999" role="button" title="23717.png" alt="23717.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Hammond&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Sep 2021 14:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Six-digit-number-store-as-date-compare-to-masked-data/m-p/83910#M35123</guid>
      <dc:creator>john.hammond</dc:creator>
      <dc:date>2021-09-13T14:26:00Z</dc:date>
    </item>
  </channel>
</rss>

