<?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 Convert text to date in University Forum</title>
    <link>https://community.blueprism.com/t5/University-Forum/Convert-text-to-date/m-p/80264#M803</link>
    <description>&lt;P&gt;Appreciate your guidance on conversion as I am getting an error when attempting to convert date in text value to date.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I use a following expression in calculation stage to convert text value and store it in new data stage with date data type:&lt;BR /&gt;&lt;BR /&gt;FormatDate(ToDate ([Departing date]), "dd/MM/yyyy")&lt;BR /&gt;&lt;BR /&gt;20/07/2020 text value is stored in data stage named "Departing date".&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can't seem to understand why I am getting an error message of "Unable to convert supplied value to a date: Text value "20/07/2020" cannot be interpreted as a date.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Expression appears valid.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sam &lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 22 Jun 2020 00:43:00 GMT</pubDate>
    <dc:creator>SamPark</dc:creator>
    <dc:date>2020-06-22T00:43:00Z</dc:date>
    <item>
      <title>Convert text to date</title>
      <link>https://community.blueprism.com/t5/University-Forum/Convert-text-to-date/m-p/80264#M803</link>
      <description>&lt;P&gt;Appreciate your guidance on conversion as I am getting an error when attempting to convert date in text value to date.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I use a following expression in calculation stage to convert text value and store it in new data stage with date data type:&lt;BR /&gt;&lt;BR /&gt;FormatDate(ToDate ([Departing date]), "dd/MM/yyyy")&lt;BR /&gt;&lt;BR /&gt;20/07/2020 text value is stored in data stage named "Departing date".&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can't seem to understand why I am getting an error message of "Unable to convert supplied value to a date: Text value "20/07/2020" cannot be interpreted as a date.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Expression appears valid.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sam &lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jun 2020 00:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Convert-text-to-date/m-p/80264#M803</guid>
      <dc:creator>SamPark</dc:creator>
      <dc:date>2020-06-22T00:43:00Z</dc:date>
    </item>
    <item>
      <title>RE: Convert text to date</title>
      <link>https://community.blueprism.com/t5/University-Forum/Convert-text-to-date/m-p/80265#M804</link>
      <description>Hi Sam,&lt;BR /&gt;&lt;BR /&gt;I think I was able to reproduce the error as you have described it.&lt;BR /&gt;&lt;BR /&gt;When you create the text data item, don't use punctuation/quotation marks when entering the value. Removing the punctuation should resolve the error.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Patrick Aucoin&lt;BR /&gt;Senior Product Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jun 2020 14:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Convert-text-to-date/m-p/80265#M804</guid>
      <dc:creator>PatrickAucoin</dc:creator>
      <dc:date>2020-06-24T14:40:00Z</dc:date>
    </item>
    <item>
      <title>RE: Convert text to date</title>
      <link>https://community.blueprism.com/t5/University-Forum/Convert-text-to-date/m-p/80266#M805</link>
      <description>Hey Sam,&lt;BR /&gt;&lt;BR /&gt;check your system date. Likely your non-UK based date format is causing the issue. The issue being a month with that date doesn't exist. Try going into either your system settings and changing how your dates are interpreted or going into your quotes file and changing how the dates are generated to match your date formats. If you switch the date around im sure you'll notice it suddenly works i.e. from 20/07/2020 to 07/20/2020.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dexter Whelan&lt;BR /&gt;Senior Developer/Mentor&lt;BR /&gt;SAS&lt;BR /&gt;Europe/LondonDexter Whelan&lt;BR /&gt;Senior Developer/Mentor&lt;BR /&gt;SAS&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jun 2020 09:07:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Convert-text-to-date/m-p/80266#M805</guid>
      <dc:creator>Dexter_Whelan_SAS</dc:creator>
      <dc:date>2020-06-25T09:07:00Z</dc:date>
    </item>
  </channel>
</rss>

