<?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: Paste Collection (Fast) is making a mess of date formats in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Paste-Collection-Fast-is-making-a-mess-of-date-formats/m-p/76551#M29026</link>
    <description>&lt;P&gt;&lt;SPAN&gt;It is possible that the issue is related to the cultural settings of the Excel. The VBO, when opening the Excel document, utilizes the cultural format of the Excel rather than utilizing the local format. This discrepancy can potentially lead to issues if the Excel documents in question originate from regions with different cultural settings. You could test this by modifying the code to use just the local variant of excel.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="15487.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/15650i809B1B72507450AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="15487.png" alt="15487.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Edit:&lt;/P&gt;
&lt;P&gt;Also, it is worth trying to set the 'Office Authoring language' to something like English India as we use dd/MM/yyyy format.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="15488.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/15651iFC12756494E7A7D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="15488.png" alt="15488.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;------------------------------&lt;BR /&gt;Gopal Bhaire&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2023 06:23:00 GMT</pubDate>
    <dc:creator>GopalBhaire</dc:creator>
    <dc:date>2023-01-19T06:23:00Z</dc:date>
    <item>
      <title>Paste Collection (Fast) is making a mess of date formats</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Paste-Collection-Fast-is-making-a-mess-of-date-formats/m-p/76548#M29023</link>
      <description>So I have a process which opens one Excel file and copies the data into a collection. One of the fields is a date, which appears to be imported in a DateTime format (DD/MM/YYY HH:MM:SS) but is stored as Text.&amp;nbsp;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="15498.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/15660i3B720BD930679CEE/image-size/large?v=v2&amp;amp;px=999" role="button" title="15498.png" alt="15498.png" /&gt;&lt;/span&gt;&lt;BR /&gt;This process runs for many different reports, and the headers change from one report to another, so hard-coding this to store as Date by default is not possible.&lt;BR /&gt;&lt;BR /&gt;When I use Paste Collection (Fast) to put this data into another spreadsheet, something very strange happens:&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="15499.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/15661iB60DC00D53E1832B/image-size/large?v=v2&amp;amp;px=999" role="button" title="15499.png" alt="15499.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Basically, every date from the 1st to the 12th of the month is treated as though it were in the MM/DD/YY format and the date and month are switched, whereas any date from the 13th onwards is correctly formatted as DD/MM/YY.&lt;BR /&gt;&lt;BR /&gt;This is causing an issue when it comes to sorting by date, as all the 3rd of Januarys are being treated as though they were the 1st of March, and so on.&lt;BR /&gt;&lt;BR /&gt;I should point out that this process runs for dozens of reports with thousands of lines, so any solution involving manual adjustments of the format in Excel is a non-starter. &lt;BR /&gt;&lt;BR /&gt;It seems this is an issue with the way the Paste Collection process functions. It assumes dates are in MM/DD/YY unless the month is over 12, in which case it must be DD/MM/YY, resulting in this inconsistent output. I can't stress enough how much nobody wants this. The dates should either all be converted to MM/DD/YYYY (which would be annoying tbh), or they should be left alone. The output from this process is utterly unusable as the dates can not be relied upon.&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Roberts&lt;BR /&gt;------------------------------</description>
      <pubDate>Wed, 18 Jan 2023 13:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Paste-Collection-Fast-is-making-a-mess-of-date-formats/m-p/76548#M29023</guid>
      <dc:creator>JohnRoberts1</dc:creator>
      <dc:date>2023-01-18T13:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: Paste Collection (Fast) is making a mess of date formats</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Paste-Collection-Fast-is-making-a-mess-of-date-formats/m-p/76549#M29024</link>
      <description>What about if you had a separate collection with defined data types , you could then transfer your original collection into the defined collection so that the column is defined as date/time.&lt;BR /&gt;&lt;BR /&gt;You could then try to write that collection into the required spreadsheet.&amp;nbsp; As the column is defined as date/time , it might keep the format correct .&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Stephen Eric Jones&lt;BR /&gt;Blue Prism Developer&lt;BR /&gt;Swinton Insurance&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jan 2023 15:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Paste-Collection-Fast-is-making-a-mess-of-date-formats/m-p/76549#M29024</guid>
      <dc:creator>Stephen.Jones</dc:creator>
      <dc:date>2023-01-18T15:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: Paste Collection (Fast) is making a mess of date formats</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Paste-Collection-Fast-is-making-a-mess-of-date-formats/m-p/76550#M29025</link>
      <description>The problem is this process extracts a few dozen reports, and they all have different headings. Some don't have dates at all. It's not really workable to have a collection with defined data types when we have so many different reports.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Roberts&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jan 2023 16:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Paste-Collection-Fast-is-making-a-mess-of-date-formats/m-p/76550#M29025</guid>
      <dc:creator>JohnRoberts1</dc:creator>
      <dc:date>2023-01-18T16:45:00Z</dc:date>
    </item>
    <item>
      <title>RE: Paste Collection (Fast) is making a mess of date formats</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Paste-Collection-Fast-is-making-a-mess-of-date-formats/m-p/76551#M29026</link>
      <description>&lt;P&gt;&lt;SPAN&gt;It is possible that the issue is related to the cultural settings of the Excel. The VBO, when opening the Excel document, utilizes the cultural format of the Excel rather than utilizing the local format. This discrepancy can potentially lead to issues if the Excel documents in question originate from regions with different cultural settings. You could test this by modifying the code to use just the local variant of excel.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="15487.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/15650i809B1B72507450AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="15487.png" alt="15487.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Edit:&lt;/P&gt;
&lt;P&gt;Also, it is worth trying to set the 'Office Authoring language' to something like English India as we use dd/MM/yyyy format.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="15488.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/15651iFC12756494E7A7D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="15488.png" alt="15488.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;------------------------------&lt;BR /&gt;Gopal Bhaire&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 06:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Paste-Collection-Fast-is-making-a-mess-of-date-formats/m-p/76551#M29026</guid>
      <dc:creator>GopalBhaire</dc:creator>
      <dc:date>2023-01-19T06:23:00Z</dc:date>
    </item>
    <item>
      <title>RE: Paste Collection (Fast) is making a mess of date formats</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Paste-Collection-Fast-is-making-a-mess-of-date-formats/m-p/76552#M29027</link>
      <description>One other thing that I can think of for this is that if you are just moving the data from one spreadsheet to another without modifying it, you could look at using the action "Copy and Paste Worksheet Range" instead of Write Collection.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I don't know if that would make any difference but something worth trying other than the points mentioned by &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1694"&gt;@GopalBhaire&lt;/a&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Jan 2023 08:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Paste-Collection-Fast-is-making-a-mess-of-date-formats/m-p/76552#M29027</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2023-01-19T08:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: Paste Collection (Fast) is making a mess of date formats</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Paste-Collection-Fast-is-making-a-mess-of-date-formats/m-p/76553#M29028</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/3196"&gt;@JohnRoberts1&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Am i correct in assuming that you only need the date and not date time for this? Once its written into the excel file can you use the VBO Excel action Format ​Cell and set the range of cells to the correct date format?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="15495.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/15663i174325DCC221EF67/image-size/large?v=v2&amp;amp;px=999" role="button" title="15495.png" alt="15495.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael ONeil&lt;BR /&gt;Technical Lead developer&lt;BR /&gt;NTTData&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Jan 2023 16:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Paste-Collection-Fast-is-making-a-mess-of-date-formats/m-p/76553#M29028</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2023-01-19T16:29:00Z</dc:date>
    </item>
  </channel>
</rss>

