<?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: Convert date in University Forum</title>
    <link>https://community.blueprism.com/t5/University-Forum/Convert-date/m-p/112184#M3667</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/57370"&gt;@jacobitwaco&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Since, you have mentioned that you even u&lt;SPAN&gt;sed a comma as a separator in your expression before which is actually the right way, I am pretty sure this issue is because of your regional format which pretty often confuses a lot of people.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The &lt;FONT color="#800000"&gt;FormatDate&lt;/FONT&gt; function in Blue Prism is primarily dictated by the regional settings of the machine it's running on. If your system's default date separator is a hyphen (-), then Blue Prism will use that separator despite the specified format which you would use which in your case is forward slash (/). If your regional setting already has '/' characters then you normally can use the expression as I showed below without any extra &lt;FONT color="#800000"&gt;Replace&lt;/FONT&gt; function otherwise you will need to update the expression a bit.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As you can see in my case, the regional format of my machine is &lt;FONT face="Menlo, Monaco, Consolas, Courier New, monospace" color="#800000"&gt;&lt;SPAN&gt;dd-MM-yyyy:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="devneetmohanty07_0-1720383210314.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38862i537A5C0130226EAB/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="devneetmohanty07_0-1720383210314.png" alt="devneetmohanty07_0-1720383210314.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So here, even if I use the correct calculation function, still it would not work:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FormatDate([Departing Date], "dd/MM/yyy")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="devneetmohanty07_2-1720383395296.png" style="width: 999px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38864i3F90B5FC53D47316/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="devneetmohanty07_2-1720383395296.png" alt="devneetmohanty07_2-1720383395296.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way to avoid this is to either change your regional settings which in most cases would not be advised as it will affect a lot of applications like excel for instance on your machine. Hence, better approach is to use an updated version of the formula which will manually replace the hyphen (-) characters with forward slash (/) characters once you use &lt;FONT color="#800000"&gt;FormatDate&lt;/FONT&gt; function:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Replace(FormatDate([Departing Date], "dd/MM/yyy"), "-", "/")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="devneetmohanty07_3-1720383643271.png" style="width: 999px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38865iBB42DEB4D40B7871/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="devneetmohanty07_3-1720383643271.png" alt="devneetmohanty07_3-1720383643271.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 07 Jul 2024 20:26:02 GMT</pubDate>
    <dc:creator>devneetmohanty07</dc:creator>
    <dc:date>2024-07-07T20:26:02Z</dc:date>
    <item>
      <title>Convert date</title>
      <link>https://community.blueprism.com/t5/University-Forum/Convert-date/m-p/112168#M3664</link>
      <description>&lt;P&gt;Hello Guys,&lt;BR /&gt;&lt;BR /&gt;I would like to convert date from the format 01.09.2024 for 01/09/2024. Date is saved in a date Item as a text and I wrote the expression in a Write Stage, but It still doesnt work. Maybe I wrote uncorrectly the expression. I used a comma as a separator too but it still doesnt work. BluePrism Version 7.2.0. Do you have some ideas ?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zrzut ekranu (632).png" style="width: 999px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38858iDB5F632DC459B08C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Zrzut ekranu (632).png" alt="Zrzut ekranu (632).png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 10:13:12 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Convert-date/m-p/112168#M3664</guid>
      <dc:creator>jacobitwaco</dc:creator>
      <dc:date>2025-10-20T10:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Convert date</title>
      <link>https://community.blueprism.com/t5/University-Forum/Convert-date/m-p/112171#M3665</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/57370"&gt;@jacobitwaco&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached screenshot for your ref, Please check it will help you.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="99.png" style="width: 811px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38860iE07CEE4E7F53D487/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="99.png" alt="99.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nilesh&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jul 2024 11:37:34 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Convert-date/m-p/112171#M3665</guid>
      <dc:creator>NileshJadhavBP</dc:creator>
      <dc:date>2024-07-07T11:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Convert date</title>
      <link>https://community.blueprism.com/t5/University-Forum/Convert-date/m-p/112184#M3667</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/57370"&gt;@jacobitwaco&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Since, you have mentioned that you even u&lt;SPAN&gt;sed a comma as a separator in your expression before which is actually the right way, I am pretty sure this issue is because of your regional format which pretty often confuses a lot of people.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The &lt;FONT color="#800000"&gt;FormatDate&lt;/FONT&gt; function in Blue Prism is primarily dictated by the regional settings of the machine it's running on. If your system's default date separator is a hyphen (-), then Blue Prism will use that separator despite the specified format which you would use which in your case is forward slash (/). If your regional setting already has '/' characters then you normally can use the expression as I showed below without any extra &lt;FONT color="#800000"&gt;Replace&lt;/FONT&gt; function otherwise you will need to update the expression a bit.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As you can see in my case, the regional format of my machine is &lt;FONT face="Menlo, Monaco, Consolas, Courier New, monospace" color="#800000"&gt;&lt;SPAN&gt;dd-MM-yyyy:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="devneetmohanty07_0-1720383210314.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38862i537A5C0130226EAB/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="devneetmohanty07_0-1720383210314.png" alt="devneetmohanty07_0-1720383210314.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So here, even if I use the correct calculation function, still it would not work:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FormatDate([Departing Date], "dd/MM/yyy")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="devneetmohanty07_2-1720383395296.png" style="width: 999px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38864i3F90B5FC53D47316/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="devneetmohanty07_2-1720383395296.png" alt="devneetmohanty07_2-1720383395296.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way to avoid this is to either change your regional settings which in most cases would not be advised as it will affect a lot of applications like excel for instance on your machine. Hence, better approach is to use an updated version of the formula which will manually replace the hyphen (-) characters with forward slash (/) characters once you use &lt;FONT color="#800000"&gt;FormatDate&lt;/FONT&gt; function:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Replace(FormatDate([Departing Date], "dd/MM/yyy"), "-", "/")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="devneetmohanty07_3-1720383643271.png" style="width: 999px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38865iBB42DEB4D40B7871/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="devneetmohanty07_3-1720383643271.png" alt="devneetmohanty07_3-1720383643271.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jul 2024 20:26:02 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Convert-date/m-p/112184#M3667</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2024-07-07T20:26:02Z</dc:date>
    </item>
  </channel>
</rss>

