Question

2
Replies
1941
Views
CECA7629 Member since 2017 2 posts
JELD-WEN
Posted: 2 years ago
Last activity: 2 years 3 months ago
Closed
Solved

Invalid Invalid datetime format/Invalid datetime error received when operator is in Canadian timezone...

When an operator has a Canadian timezone, and we attempt to map a service response, which contains a date, we receive the following error:

Invalid datetime format/Invalid datetime for '20180227T000000.000 PST (CA)'.

Note, that this is only reproducable on US based machines, as several offshore team members are unable to replicate on their systems.

This is an expression which causes this according to the tracer:

@DateTime.FormatDateTime(@(Pega-RULES:String).substring(.orderDate, 0, 4) +@(Pega-RULES:String).substring(.orderDate, 5, 7) +@(Pega-RULES:String).substring(.orderDate, 8, 10) +"T080000.000 GMT",null,null,null)

Could use some pointers, if anyone knows what may be causing this.

Thanks.

Low-Code App Development Low-Code App Development Dev/Designer Studio
Moderation Team has archived post
Share this page LinkedIn