<?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: Split Date from Datetime value in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96973#M45085</link>
    <description>For my requirements I am using the FormatDate and it working Fine. Thanks for all the responses, Appreciate it.</description>
    <pubDate>Tue, 17 Jan 2023 13:39:33 GMT</pubDate>
    <dc:creator>RohanGoswami1</dc:creator>
    <dc:date>2023-01-17T13:39:33Z</dc:date>
    <item>
      <title>Split Date from Datetime value</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96965#M45077</link>
      <description>hi I need little help in splitting the date from datetime value. Previously I was doing like this&lt;BR /&gt;Datetime = 19/09/2022&amp;nbsp;17:44:17&lt;BR /&gt;date = left(Datetime, 10)&amp;nbsp; = 19/09/2022&lt;BR /&gt;&lt;BR /&gt;Now this is not working as&amp;nbsp;&lt;BR /&gt;Datetime = 1/2/2023 17:44:17&lt;BR /&gt;date = left(Datetime, 10)&amp;nbsp; = 1/2/2023 1&lt;BR /&gt;&lt;BR /&gt;Any efficient way to do this manipulation?</description>
      <pubDate>Mon, 02 Jan 2023 13:07:26 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96965#M45077</guid>
      <dc:creator>RohanGoswami1</dc:creator>
      <dc:date>2023-01-02T13:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date from Datetime value</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96966#M45078</link>
      <description>Hello Rohan.&amp;nbsp; &amp;nbsp;What you want is to use the FormatDate function.&amp;nbsp; &amp;nbsp;Another thread on this forum has the answer to what you want:&amp;nbsp; &lt;A href="https://community.blueprism.com/communities/community-home/digestviewer/viewthread?MessageKey=c4e439d3-fd67-4b41-90a6-6ff0bc752720&amp;amp;CommunityKey=d8a0860f-1370-4a8d-a272-ad61dbc9b3f3&amp;amp;tab=digestviewer" target="_blank" rel="noopener"&gt;How to convert date format (dd/mm/yyyy) to (mm/dd/yyyy) | Blue Prism Product&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The calculation UI has great help for building functions,&amp;nbsp; I suggest maybe spending time looking at all the functions available under 'Date' as the answer was there for you to discover.&amp;nbsp; There is also good help in the Blue Prism online help for Calculations and Decisions.</description>
      <pubDate>Mon, 02 Jan 2023 14:02:09 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96966#M45078</guid>
      <dc:creator>Denis__Dennehy</dc:creator>
      <dc:date>2023-01-02T14:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date from Datetime value</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96967#M45079</link>
      <description>If you are just trying to convert a DateTime value to a Date value, you can use the ToDate() function. The ToDate() function works both with DateTime data items and Text data items (as long as the string is in the proper DateTime format).</description>
      <pubDate>Mon, 02 Jan 2023 16:06:34 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96967#M45079</guid>
      <dc:creator>MichealCharron</dc:creator>
      <dc:date>2023-01-02T16:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date from Datetime value</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96968#M45080</link>
      <description>As Michael mentioned, using the ToDate() will be your way to go. However, one of the main things to consider working with that, is that it works according to the format of date on your pc. Which means if the time on your pc is mm/dd/yyyy and the value you path to that function is dd/mm/yyyy, it will not be providing you accurate values and it might be breaking when the mm value will be more than 12 as there are only 12 months. Work with that in mind and you'll be safe to go.</description>
      <pubDate>Mon, 02 Jan 2023 17:11:47 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96968#M45080</guid>
      <dc:creator>EslamGhandour</dc:creator>
      <dc:date>2023-01-02T17:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date from Datetime value</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96969#M45081</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;You can use FormatDate, ToDate but the problem is Input Format =&amp;gt; MM/dd/yyyy or else PFB you'll get this error&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35232.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35293i0BE5FA94EC2F8643/image-size/large?v=v2&amp;amp;px=999" role="button" title="35232.png" alt="35232.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;So you can try this, It's effective&amp;nbsp; =&amp;gt; Trim(Left("1/2/2023 17:44:17", InStr(Trim("1/2/2023 17:44:17"), " ")))</description>
      <pubDate>Mon, 02 Jan 2023 18:55:13 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96969#M45081</guid>
      <dc:creator>Prasanth_IRPA_Dev</dc:creator>
      <dc:date>2023-01-02T18:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date from Datetime value</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96970#M45082</link>
      <description>&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/53626"&gt;@RohanGoswami1&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;
Check this expression will it work for you&lt;BR /&gt;Replace(Replace("1/2/2023 17:44:17",Right("1/2/2023 17:44:17",8),"")," ","")​&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Soumya&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35233.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35296i6600A8334783A101/image-size/large?v=v2&amp;amp;px=999" role="button" title="35233.png" alt="35233.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Jan 2023 04:22:59 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96970#M45082</guid>
      <dc:creator>Soumya21</dc:creator>
      <dc:date>2023-01-03T04:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date from Datetime value</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96971#M45083</link>
      <description>&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;/DIV&gt;
Yes. Very efficient way &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Do not use any formula. Only use data item...&lt;BR /&gt;Expression section: [&lt;SPAN&gt;Datetime]&lt;BR /&gt;&lt;/SPAN&gt;Store Result in section: &lt;SPAN&gt;date&lt;/SPAN&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&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="35235.jpg"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35298iF40346005A85BEAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="35235.jpg" alt="35235.jpg" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Jan 2023 17:48:52 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96971#M45083</guid>
      <dc:creator>ÖzençGezgin</dc:creator>
      <dc:date>2023-01-03T17:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date from Datetime value</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96972#M45084</link>
      <description>Hi Rohan,&lt;BR /&gt;&lt;BR /&gt;Did you try my solution?</description>
      <pubDate>Tue, 17 Jan 2023 13:32:42 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96972#M45084</guid>
      <dc:creator>ÖzençGezgin</dc:creator>
      <dc:date>2023-01-17T13:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Split Date from Datetime value</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96973#M45085</link>
      <description>For my requirements I am using the FormatDate and it working Fine. Thanks for all the responses, Appreciate it.</description>
      <pubDate>Tue, 17 Jan 2023 13:39:33 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Split-Date-from-Datetime-value/m-p/96973#M45085</guid>
      <dc:creator>RohanGoswami1</dc:creator>
      <dc:date>2023-01-17T13:39:33Z</dc:date>
    </item>
  </channel>
</rss>

