22-02-24 12:19 AM
Hi
Im using this expression
ToDateTime(Today()&" "&LocalTime()+MakeTimeSpan(0; 0; 2; 0))
but the deferring isnt working
I mean, when I create the queue in my process to generate it, I try with the expressions in the defer until, but when processing the queue in another process everything is done at the moment, the defer does not work.
Thanks !!
------------------------------
Lucia Lisdero
------------------------------
22-02-24 12:43 AM
Hello Lucia,
BluePrism works on UTC time so you have to consider that when working with datetimes. To Fix that, the function should be;
ToDateTime(Today()&" "&UTCTime()+MakeTimeSpan(0; 0; 2; 0))
Regards!
------------------------------
If this was helpful, please mark it as the best answer 🙂
Daniel Sanhueza
RPA Professional Developer
Deloitte
America/Santiago
------------------------------
22-02-24 12:46 AM
thank you !
It worked for me with this one too!
Now() + MakeTimeSpan(0;0;2;0)