<?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: Defer Time Miscalculating? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Defer-Time-Miscalculating/m-p/79265#M31173</link>
    <description>I believe the Defer time is calculated in UTC time which is probably why your seeing the 5 hours ago issue when you use your LocalTime().&amp;nbsp; In one of my processes where I use Defer, I calculate it by using Now() + [Hours to Defer] where [Hours to Defer] is a time span = 0.04:00:00 hours.&amp;nbsp; You'll find for a lot of the time calculations in Blueprism you'll need to use UTC time as your anchor point.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Matt Palmer&lt;BR /&gt;Business Process Specialist&lt;BR /&gt;Chesapeake Energy&lt;BR /&gt;America/Chicago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 19 Nov 2019 13:27:00 GMT</pubDate>
    <dc:creator>MattPalmer</dc:creator>
    <dc:date>2019-11-19T13:27:00Z</dc:date>
    <item>
      <title>Defer Time Miscalculating?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Defer-Time-Miscalculating/m-p/79264#M31172</link>
      <description>I'm currently working through the Defer portion of section 9. When I use&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV style="padding-left: 30px;"&gt;ToDateTime(Today() &amp;amp; " " &amp;amp; LocalTime() + MakeTimeSpan(0,0,5,0))&lt;/DIV&gt;
&lt;BR /&gt;I receive the wrong value. When I check the Defer time in the Control panel, I see a time five minutes ahead, but five hours ago. When I hit Evaluate Expression in the Expression Chooser it gives me the correct time, so I have no idea why Defer is appearing as five hours ago. The other DateTimes in the Control panel are the correct times, so I don't think it's a timezone issue or anything.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Robert Wertz&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Nov 2019 21:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Defer-Time-Miscalculating/m-p/79264#M31172</guid>
      <dc:creator>RobertWertz</dc:creator>
      <dc:date>2019-11-18T21:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: Defer Time Miscalculating?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Defer-Time-Miscalculating/m-p/79265#M31173</link>
      <description>I believe the Defer time is calculated in UTC time which is probably why your seeing the 5 hours ago issue when you use your LocalTime().&amp;nbsp; In one of my processes where I use Defer, I calculate it by using Now() + [Hours to Defer] where [Hours to Defer] is a time span = 0.04:00:00 hours.&amp;nbsp; You'll find for a lot of the time calculations in Blueprism you'll need to use UTC time as your anchor point.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Matt Palmer&lt;BR /&gt;Business Process Specialist&lt;BR /&gt;Chesapeake Energy&lt;BR /&gt;America/Chicago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Nov 2019 13:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Defer-Time-Miscalculating/m-p/79265#M31173</guid>
      <dc:creator>MattPalmer</dc:creator>
      <dc:date>2019-11-19T13:27:00Z</dc:date>
    </item>
    <item>
      <title>RE: Defer Time Miscalculating?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Defer-Time-Miscalculating/m-p/79266#M31174</link>
      <description>That was my first thought too. The fact that pressing "evaluate expression" returns the proper value is what confuses me. Plus, when I use LocalTime() in the summary field it correctly identifies the time. It's just weird that Defer is the only one of these that seems to be set in UTC and then converted back to EDT.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Robert Wertz&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Nov 2019 21:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Defer-Time-Miscalculating/m-p/79266#M31174</guid>
      <dc:creator>RobertWertz</dc:creator>
      <dc:date>2019-11-19T21:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: Defer Time Miscalculating?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Defer-Time-Miscalculating/m-p/79267#M31175</link>
      <description>When you calculate the Time expression using evaluate : It shows you the result in local time as per your PC TZ. However, BP stores everything in the DB in UTC TZ and thats why in control panel you would be able to see the Time in UTC (Which may be 5 hours as per your point.)&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vivek Goel&lt;BR /&gt;RPA Architect&lt;BR /&gt;Asia/Singapore&lt;BR /&gt;+6594554364&lt;BR /&gt;&lt;A href="https://www.rpatools.com/" target="test_blank"&gt;https://www.rpatools.com/&lt;/A&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Nov 2019 03:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Defer-Time-Miscalculating/m-p/79267#M31175</guid>
      <dc:creator>vivek.kumar.goel</dc:creator>
      <dc:date>2019-11-20T03:12:00Z</dc:date>
    </item>
    <item>
      <title>RE: Defer Time Miscalculating?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Defer-Time-Miscalculating/m-p/79268#M31176</link>
      <description>Came to forums to find the answer to this question - the fact that the time didn't match the evaluate value was also my main confusion!&amp;nbsp;&lt;BR /&gt;Thank you from two years in the future &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;-Colleen&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Colleen DiVincenzo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 02 Oct 2021 17:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Defer-Time-Miscalculating/m-p/79268#M31176</guid>
      <dc:creator>ColleenDiVincen</dc:creator>
      <dc:date>2021-10-02T17:42:00Z</dc:date>
    </item>
  </channel>
</rss>

