<?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 convert SAP Date (text format in DD.MM.YYYY ) into blueprism date field in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-convert-SAP-Date-text-format-in-DD-MM-YYYY-into-blueprism/m-p/89175#M39609</link>
    <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="f3b3506a-4fbb-4f2d-bb0f-3ea1ce7702d0" data-tag-text="@Nilesh Jadhav" href="https://community.blueprism.com/network/profile?UserKey=f3b3506a-4fbb-4f2d-bb0f-3ea1ce7702d0" data-itemmentionkey="5b342e51-8c7c-44a9-99ee-ebac51332c2d"&gt;@Nilesh Jadhav&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Thanks for kind support. I tried CDate in VBA but it is giving error something related to date format. So what I have done is I've created an reusable action in the object to convert. So that next requirement we can use this.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Inputs:- &lt;BR /&gt;1. Date in text type&lt;BR /&gt;2. Text Date format ( it can be DD.MM.YYYY (or) MM.DD.YYYY (or) any format which should have DD , MM, YYYY )&lt;BR /&gt;&lt;BR /&gt;Logic:-&amp;nbsp;&lt;BR /&gt;1. Dynamically split Text date into DD, MM, YYYY text variables based on the format.&amp;nbsp;&lt;BR /&gt;2. Use MakeDate() to combine into the Output Date field&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="12200.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/12370iF9AAF3F7EA9A058E/image-size/large?v=v2&amp;amp;px=999" role="button" title="12200.png" alt="12200.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Output:-&lt;BR /&gt;1. Date in BP Date data type&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Praveen Chitturi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 20 Oct 2020 00:26:00 GMT</pubDate>
    <dc:creator>Praveen_Kumar_C</dc:creator>
    <dc:date>2020-10-20T00:26:00Z</dc:date>
    <item>
      <title>How to convert SAP Date (text format in DD.MM.YYYY ) into blueprism date field</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-convert-SAP-Date-text-format-in-DD-MM-YYYY-into-blueprism/m-p/89173#M39607</link>
      <description>Dear Community,&lt;BR /&gt;&lt;BR /&gt;I am reading some date values from SAP screen using codestage with VBA. Currently I am exporting to text field and it's format is DD.MM.YYY&amp;nbsp; . Later point I need this date to calculate date differences. Thus I need to convert this text field into blue prism date field.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I can do this by splitting the multi calc stage using text splitting and makedate function. But is there any more easy way to do in VBA using CDate function by passing text field and input date format 'DD.MM.YYYY' ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Praveen Chitturi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Oct 2020 06:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-convert-SAP-Date-text-format-in-DD-MM-YYYY-into-blueprism/m-p/89173#M39607</guid>
      <dc:creator>Praveen_Kumar_C</dc:creator>
      <dc:date>2020-10-16T06:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to convert SAP Date (text format in DD.MM.YYYY ) into blueprism date field</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-convert-SAP-Date-text-format-in-DD-MM-YYYY-into-blueprism/m-p/89174#M39608</link>
      <description>Hi &lt;A id="MainCopy_ctl10_ucMessageList_rptMessageList_ProfileImageDisplay_0_NameLink_0" biobubblekey="9ec88d80-64af-4857-81e2-6637cb1a92d5" href="https://community.blueprism.com/network/profile?UserKey=9ec88d80-64af-4857-81e2-6637cb1a92d5" target="_blank" rel="noopener"&gt;Praveen&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Yes in VBA you can use Cdate function to convert any text date into proper date format.&lt;BR /&gt;&lt;BR /&gt;You can use ToDate function under Functions -&amp;gt; Conversion - &amp;gt; (Just pass the date in text box and click on paste)&lt;BR /&gt;&lt;BR /&gt;I hope its work for you,If yes please mark this ans as best ans.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Nilesh&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nilesh Jadhav &lt;BR /&gt;Senior RPA Specialist&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Oct 2020 21:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-convert-SAP-Date-text-format-in-DD-MM-YYYY-into-blueprism/m-p/89174#M39608</guid>
      <dc:creator>NileshJadhavBP</dc:creator>
      <dc:date>2020-10-19T21:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to convert SAP Date (text format in DD.MM.YYYY ) into blueprism date field</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-convert-SAP-Date-text-format-in-DD-MM-YYYY-into-blueprism/m-p/89175#M39609</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="f3b3506a-4fbb-4f2d-bb0f-3ea1ce7702d0" data-tag-text="@Nilesh Jadhav" href="https://community.blueprism.com/network/profile?UserKey=f3b3506a-4fbb-4f2d-bb0f-3ea1ce7702d0" data-itemmentionkey="5b342e51-8c7c-44a9-99ee-ebac51332c2d"&gt;@Nilesh Jadhav&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Thanks for kind support. I tried CDate in VBA but it is giving error something related to date format. So what I have done is I've created an reusable action in the object to convert. So that next requirement we can use this.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Inputs:- &lt;BR /&gt;1. Date in text type&lt;BR /&gt;2. Text Date format ( it can be DD.MM.YYYY (or) MM.DD.YYYY (or) any format which should have DD , MM, YYYY )&lt;BR /&gt;&lt;BR /&gt;Logic:-&amp;nbsp;&lt;BR /&gt;1. Dynamically split Text date into DD, MM, YYYY text variables based on the format.&amp;nbsp;&lt;BR /&gt;2. Use MakeDate() to combine into the Output Date field&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="12200.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/12370iF9AAF3F7EA9A058E/image-size/large?v=v2&amp;amp;px=999" role="button" title="12200.png" alt="12200.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Output:-&lt;BR /&gt;1. Date in BP Date data type&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Praveen Chitturi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Oct 2020 00:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-convert-SAP-Date-text-format-in-DD-MM-YYYY-into-blueprism/m-p/89175#M39609</guid>
      <dc:creator>Praveen_Kumar_C</dc:creator>
      <dc:date>2020-10-20T00:26:00Z</dc:date>
    </item>
  </channel>
</rss>

