<?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 Hi Team,
In both env i am… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/FormatDateTime-Error/m-p/46075#M2149</link>
    <description>Hi Team,
In both env i am getting same value for&amp;nbsp;[Last run start datetime] ie&amp;nbsp;""9/27/2018 11:45:00"" and with Text datatype.
In UAT below expression working as expected and returns ""09/27/2018 11:45:00""
But in Prod if [Last run start datetime] is&amp;nbsp;""27/9/2018 11:45:00"" then only expression returns ""09/27/2018 11:45:00"" else throws same error.
FormatDateTime([Last run start datetime], ""MM/dd/yyyy HH:mm:ss"")
&amp;nbsp;
It got resolved last time after changes in region and dattime setting.</description>
    <pubDate>Wed, 03 Oct 2018 12:42:00 GMT</pubDate>
    <dc:creator>DharmendraGupta</dc:creator>
    <dc:date>2018-10-03T12:42:00Z</dc:date>
    <item>
      <title>FormatDateTime Error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/FormatDateTime-Error/m-p/46072#M2146</link>
      <description>Hi Team,

I have used FormatDateTime. It&amp;nbsp;is working in development/UAT system but not on production system.
I had imported the BP release of the same process in production system.

Error : CALCULATION: 'Fetch last run start datetime' Process: 'Process Name' Subsheet: 'Fetch run timings' ERROR: Internal : Failed to evaluate expression 'FormatDateTime([Last run start datetime]; "MM/dd/yyyy HH:mm:ss")' - FormatDateTime function requires 2 arguments of types: (datetime,text)</description>
      <pubDate>Thu, 21 Jun 2018 12:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/FormatDateTime-Error/m-p/46072#M2146</guid>
      <dc:creator>DharmendraGupta</dc:creator>
      <dc:date>2018-06-21T12:24:00Z</dc:date>
    </item>
    <item>
      <title>Do the logs show what the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/FormatDateTime-Error/m-p/46073#M2147</link>
      <description>Do the logs show what the value of [Last run start datetime] was?</description>
      <pubDate>Fri, 22 Jun 2018 12:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/FormatDateTime-Error/m-p/46073#M2147</guid>
      <dc:creator>NicholasBell1</dc:creator>
      <dc:date>2018-06-22T12:55:00Z</dc:date>
    </item>
    <item>
      <title>Hi Dharmendra
 
It seems…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/FormatDateTime-Error/m-p/46074#M2148</link>
      <description>Hi Dharmendra
&amp;nbsp;
It seems your variable value at run time is null , hence the expression evaluation fails.
Check the run time value in logs.
&amp;nbsp;
Regards
Ranjeet</description>
      <pubDate>Sat, 23 Jun 2018 20:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/FormatDateTime-Error/m-p/46074#M2148</guid>
      <dc:creator>RanjeetPatel1</dc:creator>
      <dc:date>2018-06-23T20:39:00Z</dc:date>
    </item>
    <item>
      <title>Hi Team,
In both env i am…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/FormatDateTime-Error/m-p/46075#M2149</link>
      <description>Hi Team,
In both env i am getting same value for&amp;nbsp;[Last run start datetime] ie&amp;nbsp;""9/27/2018 11:45:00"" and with Text datatype.
In UAT below expression working as expected and returns ""09/27/2018 11:45:00""
But in Prod if [Last run start datetime] is&amp;nbsp;""27/9/2018 11:45:00"" then only expression returns ""09/27/2018 11:45:00"" else throws same error.
FormatDateTime([Last run start datetime], ""MM/dd/yyyy HH:mm:ss"")
&amp;nbsp;
It got resolved last time after changes in region and dattime setting.</description>
      <pubDate>Wed, 03 Oct 2018 12:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/FormatDateTime-Error/m-p/46075#M2149</guid>
      <dc:creator>DharmendraGupta</dc:creator>
      <dc:date>2018-10-03T12:42:00Z</dc:date>
    </item>
    <item>
      <title>This might help https:/…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/FormatDateTime-Error/m-p/46076#M2150</link>
      <description>This might help&amp;nbsp;https://portal.blueprism.com/documents/v6-data-sheet-date-and-time-hand…</description>
      <pubDate>Wed, 03 Oct 2018 12:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/FormatDateTime-Error/m-p/46076#M2150</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-10-03T12:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: FormatDateTime Error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/FormatDateTime-Error/m-p/46077#M2151</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="c7130a49-6096-4b3a-90c3-175019c18812" data-tag-text="@Dharmendra Gupta" href="https://community.blueprism.com/network/profile?UserKey=c7130a49-6096-4b3a-90c3-175019c18812" data-itemmentionkey="aac81888-a7a3-4974-81d5-2f0edbaf604d"&gt;@Dharmendra Gupta&lt;/A&gt; The problem is that the first argument should be in the format date (or a text which can be converted to date).&lt;BR /&gt;&lt;SPAN&gt;It depends on the format of your computer system. Seems your prod is following some other format of date and thats why when BP is trying to convert its failing . Simply&amp;nbsp; swap the day with the month and then you can use the FormatDate function.&lt;/SPAN&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;Vipul Tiwari&lt;BR /&gt;Senior Process Simplification and Optimization Designer(Solutions Architect)&lt;BR /&gt;Fidelity International&lt;BR /&gt;------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2021 06:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/FormatDateTime-Error/m-p/46077#M2151</guid>
      <dc:creator>EVIPUTI</dc:creator>
      <dc:date>2021-09-09T06:48:00Z</dc:date>
    </item>
  </channel>
</rss>

