Question

4
Replies
2206
Views
Chunzhi_Hong Member since 2013 138 posts
PEGA
Posted: February 21, 2016
Last activity: March 1, 2016
Closed

7.1.9 @DateTime.TimeDifference returns invalid date time string that can not be assigned to a DateTime property

I was trying to set a DateTime type property using declare expression like below, however the expression fails because @DateTime.TimeDifference function returns invalid date time string.

.ToDate =@DateTime.TimeDifference(.FromDate,7,0,0,0)

FAIL

Step Status Info

** Invalid datetime format/Invalid datetime "Fri 2016/03/04 22:31:00 GMT+00:00"

Is this a known issue? or is it designed to return a date time string that can not be directly assigned to a DateTime type property?

Case Management Data Integration
Moderation Team has archived post
Share this page LinkedIn